Re: IIS7: CreateProcessWithLogonW access denied



Do you need to use cmd.exe. Try another EXE.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//



On Jun 21, 9:03 pm, "Kyle Alons" <re...@xxxxxxxxxxxx> wrote:
How are you certain your settings actually took place at the scope you

desire...

I'm not certain of much, but changing the setting does seem to have some
effect.  "Full" results in GetLastError of 5 (access denied), while High or
Medium results in:

Security Exception
Description: The application attempted to perform an operation not allowed
by the security policy.  To grant this application the required permission
please contact your system administrator or change the application's trust
level in the configuration file.

Exception Details: System.Security.SecurityException: Request for the
permission of type 'System.Security.Permissions.SecurityPermission,
mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
failed.
...

and Low or Minimal gives:

Server Error in '/Test' Application.
---------------------------------------------------------------------------­-----

Debugging is not supported under current trust level settings.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.Web.HttpException: Debugging is not supported
under current trust level settings.

.