Antlr3.runtime access denied after updating deployed files

后端 未结 4 1710
时光说笑
时光说笑 2021-01-13 03:21

We have an ASP.NET application that was written by a former employee that I have thus far been holding together with duct tape. The app was written with MVC, NHibernate and

4条回答
  •  情话喂你
    2021-01-13 03:50

    This may not apply if you're not trying to get the site to run locally, but, this may help someone...

    I had brought over my production server's web.config to my local workstation. I had forgotten that the production config uses impersonation. That turned out to be my problem. That user has nearly no permissions on my local workstation.

    If you add the impersonation user to your local machine's IIS_WPG you can keep from having to do weird things to your Temporary ASP.NET Files permissions, etc.

    Hats off to this post that led me to this truth.

    My solution was to delete the impersonation line from my local web.config

提交回复
热议问题