Event message: An unhandled access exception has occurred (IIS 7.5, cannot load website)

后端 未结 4 1438
长发绾君心
长发绾君心 2021-01-02 07:09

I deployed the Nuget source code to my company\'s web server, but when navigate to the URL, I get the following error (pulled from Event Viewer on the server):



        
相关标签:
4条回答
  • 2021-01-02 07:52

    I would just like to clarify for anyone else who comes to this question. The permissions need to be changed on the folder where the website resides in windows explorer.

    0 讨论(0)
  • 2021-01-02 07:52

    I had this exact error - the only solution that worked was setting the app pool's Enable 32-bit Applications advanced setting to True.

    Update: As I continue to have issues with a particular solution, I've found that clearing the C:\WINDOWS\Microsoft.NET\Framework\v4.xxx.xx\Temporary ASP.NET Files\ resolves the issue in most cases.

    0 讨论(0)
  • 2021-01-02 07:54

    This error can also occur if for some reason access to a single file is unexpectedly denied. In my case the website was working fine but after a while access to a temporary entity framework edmx cache file was denied. Deleting this file solved the problem.

    Setting CustomErrors in Web.Config to Off gave me the details about the error. These details were not present in the event log viewer.

    0 讨论(0)
  • 2021-01-02 08:10

    The local users group needed modify permissions to get past this error. Resolved.

    0 讨论(0)
提交回复
热议问题