开发者

Required Permissions

开发者 https://www.devze.com 2022-12-23 06:08 出处:网络
I am developing an ASP.Net MVC application that throws a \"Required permissions cannot be acquired\" exception.

I am developing an ASP.Net MVC application that throws a "Required permissions cannot be acquired" exception. The weird thing is that if I change the location of the folder contai开发者_开发技巧ning my app to another location, the app runs just fine. (i.e Copy the folder from .../Programs/MyApp to ...Desktop/MyApp)

I have checked the folder permissions and they are fine.

how do i solve this problem?

DG


I believe that's the error you get when you're eg., requiring FullTrust but are only granted MediumTrust. Since it works when you move folders, my guess is that it's not a machine level config - but a parent application. You can try forcing full trust in your own web.config.

0

精彩评论

暂无评论...
验证码 换一张
取 消