Re: IIS7: CreateProcessWithLogonW access denied



I highly recommend searching on the terms "Modify Code Access
Security" to arrive at good answers for your question.

Based on http://msdn.microsoft.com/en-us/library/aa302425.aspx, I added a
trust element to machine.config (both 32- and 64-bit flavors):

<system.web>
<!-- level="[Full|High|Medium|Low|Minimal]" -->
<trust level="Full" originUrl=""/>
</system.web>

but still get access denied.


.