Required permissions cannot be acquired [duplicate]

自作多情 提交于 2019-12-11 04:09:01

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!