Permissions Problem
Hello All,
I am working on an application where I have to use P/Invoke to call: advapi32.dll and kernel32.dll from within an ASP.NET page; I have correctly imported the DLL's into the page but when I try to make a call to the function LogonUser of the advapi32.dll I am receiving the Win32 error 1314 which is: "A required privelage isn't held by the client."
The account that .NET is running under is the IWAM account and have gone so far as to create a local policy on my WebServer that allows this account to run as part of the operating system, again I am still getting the 1314 error. The only thing left that i can think of would be to change the account to 'system' in the process model of the machine.config file and I will not do that. Any ideas?
Thanks everyone.
-Doug
"The one language all programmers understand is profanity."
__________________
===============================================
Doug Parsons
Wrox online library: Wrox Books 24 x 7
Did someone here help you? Click  on their post!
"Easy is the path to wisdom for those not blinded by themselves."
===============================================
|