Re: IIS7: CreateProcessWithLogonW access denied



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.


.



Relevant Pages

  • Re: I cannot make asp.net application run on windows 2003 server w/ ii
    ... Debugging is not supported under current trust level settings. ... An unhandled exception occurred during the execution of the ... System.Web.HttpApplicationFactory.CompileApplication(HttpContext context) ...
    (microsoft.public.inetserver.iis)
  • web.config
    ... Debugging is not supported under current trust level settings. ... An unhandled exception occurred during the execution of the ... current web request. ... Please review the stack trace for more information about ...
    (microsoft.public.biztalk.general)
  • Re: SBS 2003 BOSD (mrxdav.sys), Help Needed Please
    ... Cris Hanna [SBS - MVP] ... MVPs do not work for Microsoft ... Use!analyze -v to get detailed debugging information. ... exception record and context record. ...
    (microsoft.public.windows.server.sbs)
  • Re: Mixed assembly crashes on exit
    ... On the first development machine: I have now set debugging for both the ... I have tried setting breakpoints at various places in MINTERNAL.H. ... I have also tested this code on the 2nd development machine. ... there is an "Exception" message. ...
    (microsoft.public.vsnet.debugging)
  • Re: How to recover from a EXCEPTION_STACK_OVERFLOW?
    ... MiniDimp even if there has been an unhandled managed Exception. ... just-in-time debugging have been discussed in this newsgroup before, ... The registered custom Exception Filter calls MiniDumpWriteDump ... CreateProcess itself can fail because of corruption of the process' ...
    (microsoft.public.win32.programmer.kernel)