Could not load file or assembly or one of its dependencies. Access is denied. The issue is random, but after it happens once, it continues

后端 未结 20 1784
夕颜
夕颜 2020-12-02 09:32

I have found plenty of information out there about this error: \'ERROR: Could not load file or assembly \'*.dll\' or one of its dependencies. Access is denied.’ But i haven

20条回答
  •  悲哀的现实
    2020-12-02 10:05

    If you are using impersonation, be sure to give permissions, including write and modify permission to the relevant user account on the following folder:

    C:\Users\[username]\AppData\Local\Temp\Temporary ASP.NET Files
    

    I was missing the modify permission, which was why just adding the default permissions wasn't working for me.

提交回复
热议问题