Jump to content


sean.graves

Member Since 13 Jul 2004
Offline Last Active Aug 29 2012 11:12 AM
-----

Posts I've Made

In Topic: Has anybody been able to embed internet explorer activex control and h

18 July 2012 - 08:15 AM

Hi Darren,

I thought as much. I reckon its the datatypes comming back from this event thats upsetting proiv.

Ok thanks very much for trying it out.
At least we all know not to do it.

Regards - Sean

In Topic: Has anybody been able to embed internet explorer activex control and h

16 July 2012 - 08:23 AM

Hi Darren,

I have attached a zip file that contains screenshots document, a prx and the example html file that it tries to load.
Logic 1 is on LS1 default that tells it to load the html file.
Logic 50 is the BeforeNavigate event.
The UMSG is accessing the $BNURL result which give the error that it cannot be done.

Thanks for any advice that you find.

Sean



Sean

I see you are on version 5.5. Can you post some screen shots of your code and I will try it on version 6 and/or 7. Have you defined the control as a Static or Dynamic object ??


In Topic: Bus & Tasks / Service logon under diffent account

13 October 2006 - 04:22 PM

Hi Fred,

Just got back to trying this again.

I just added my local users the privalige of "Act as part of the operating system.".
Guess what "bobs your uncle", it now works when the Service is logged on as my local user account ProivService :-)

Having seen what you said I also found it deep in the 5.5 Bus & Task documentation.

Many thanks for your pointers, most apreciated.

In Topic: Bus & Tasks / Service logon under diffent account

27 September 2006 - 12:53 PM

Thanks Fred,

I'll give it a try and will let you know what I find.

Sean

In Topic: Bus & Tasks / Service logon under diffent account

25 September 2006 - 09:55 AM

Hi Fred,

Thanks for any help you can give me :-)
Here are my extra details that I forgot to include on the original post.

What version of ProIV kernel?
ProIV 5.5 r345

What version of ProIV client?
MFC Build 524

Which user account installed the ProIV kernel?
ServiceProIV

Which user account installed the ProIV client?
ServiceProIV

There are settings in the Kernel's pro4.ini which requires that the ProIV user (in the PIV) match a local user account on the server: Such as the following:

We have not set any of the following environment keywords as we use the default
[ENVIRONMENT]
USERNAME_VALIDATE=Y
USER_DOMAIN=
LOGONTYPE=INTERACTIVE


Can you provide any additional details of the local accounts, proiv user and exact "invalid" messages?


Local User Account called "ServiceProIV" ( used for the service ).
ServiceProIV is a member of "Administrators" ( have also tried with all security added Power users, users etc ).


Local User Account called "BaTClient" ( used for bus and task authentication ).
BaTClient is a member of "Users".


We install our software and proiv into a folder structure like so
\\Pro50


The entire base folderfolder has the following security added
Administrators Full Access
ServiceProiv Full Access
BaTClient Full Access

The Pro50 folder has one extra security of SYSTEM
Administrators Full Access
ServiceProiv Full Access
BaTClient Full Access
SYSTEM Read & Execute, List Folder COntents & Read


Error from ProIV Bus and Task API
Procedure happens during the call to p4OpenPro4
StatusCode=30
FailReason=97
SubError=97

I have ran a full trace all and noticed in the log

2f0:GetProIVProfileString: [Environment] USERNAME_VALIDATE = '' -- not found
2f0:getprofile: 'USERNAME_VALIDATE', returning '< null >'
2f0:GetProIVProfileString: [Environment] USER_DOMAIN = '' -- not found
2f0:getprofile: 'USER_DOMAIN', returning '< null >'
2f0:GetProIVProfileString: [Environment] LOGONTYPE = '' -- not found
2f0:getprofile: 'LOGONTYPE', returning '< null >'
2f0:doValidateLoginInfo: 2f0:doValidateLoginInfo: >LogonUser 'BaTClient', Domain='', LogonType=2 failed:
A required privilege is not held by the client. (0x522)
2f0:doValidateLoginInfo: error:


Incorrect username or password:

A required privilege is not held by the client. (0x522)


2f0:p4bdNewSession: System username/password incorrect:
2f0:


Incorrect username or password:

A required privilege is not held by the client. (0x522)

I have attached the log in full incase there is anything someone can spot.

What "privilege" is required and which user?
I assume this is refering to the account that the proiv service is logged into?

Now if I tell the services the Pro32srv service to logon as LocalSystem all works fine.
So there must be a trick I am missing when setting the proiv service to logon as a different user.

Thanks again for any help.

Sean