Humungus
2006-08-19 11:54:01 UTC
I have a program that uses WinInet to get information from a server URL.
It works when run from one directory but not from another (same user)
The failure is Internet Exception 12029 which is thrown on a call to
SendRequestEx
12029 ERROR_INTERNET_CANNOT_CONNECT
The attempt to connect to the server failed.
I used Process Explorer (sysinternals) to check the process owner, which is
the same in both cases (ie the process that works and the one that fails).
I obtained a log by running the debug version of wininet.dll
(http://support.microsoft.com/defaul...Ben-us%3B884931) but this gave me no
more useful information.
By setting security auditing I discovered that the failure was causing the
following event:
Event Type: Failure Audit
Event Source: Security
Event Category: Privilege Use
Event ID: 577
Date: 8/18/2006
Time: 12:53:30 PM
User: TEST1\admin
Computer: TEST1
Description:
Privileged Service Called:
Server: Security
Service: -
Primary User Name: admin
Primary Domain: TEST1
Primary Logon ID: (0x0,0x9307)
Client User Name: -
Client Domain: -
Client Logon ID: -
Privileges: SeTcbPrivilege
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
I do not understand how the same executable can "father" two processes with
the same owner; the only difference being the directory from which the exe is
run whereby one has this privilege failure and the connects and works
correctly.
The directories they are in do have different sets of permissions; could
this be relevant?
I have searched extensively and found no answer hence my post.
The OS is Win XP SP1A
Can anybody shed light on this.
It works when run from one directory but not from another (same user)
The failure is Internet Exception 12029 which is thrown on a call to
SendRequestEx
12029 ERROR_INTERNET_CANNOT_CONNECT
The attempt to connect to the server failed.
I used Process Explorer (sysinternals) to check the process owner, which is
the same in both cases (ie the process that works and the one that fails).
I obtained a log by running the debug version of wininet.dll
(http://support.microsoft.com/defaul...Ben-us%3B884931) but this gave me no
more useful information.
By setting security auditing I discovered that the failure was causing the
following event:
Event Type: Failure Audit
Event Source: Security
Event Category: Privilege Use
Event ID: 577
Date: 8/18/2006
Time: 12:53:30 PM
User: TEST1\admin
Computer: TEST1
Description:
Privileged Service Called:
Server: Security
Service: -
Primary User Name: admin
Primary Domain: TEST1
Primary Logon ID: (0x0,0x9307)
Client User Name: -
Client Domain: -
Client Logon ID: -
Privileges: SeTcbPrivilege
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
I do not understand how the same executable can "father" two processes with
the same owner; the only difference being the directory from which the exe is
run whereby one has this privilege failure and the connects and works
correctly.
The directories they are in do have different sets of permissions; could
this be relevant?
I have searched extensively and found no answer hence my post.
The OS is Win XP SP1A
Can anybody shed light on this.