问题
Possible Duplicate:
IIS7 Failed to grant minimum permission requests
I'm developing an ASP.NET WebSite and I get an exception:
Required permissions cannot be acquired.
Is there a way to find out which permission(s) are missing?
I know the assembly that causes the exception, but I don't know which permission it requires.
回答1:
IIS7 Failed to grant minimum permission requests
回答2:
In general this exception happens because your assembly is requesting permissions that IIS cannot grant.
回答3:
permcalc -sandbox
stores the information to an xml file that can be used in the web.config file.
来源:https://stackoverflow.com/questions/489437/required-permissions-cannot-be-acquired