Could not load file or assembly 'someProject' or one of its dependencies. Access is denied

后端 未结 7 1199
野趣味
野趣味 2020-12-06 05:02

I am stuck with one asp.net error. My application work fine on development and test environemnt. But on production it give me following error:

Could n

相关标签:
7条回答
  • 2020-12-06 05:38

    After deploying a new Web API project to our web farm, one of our web servers was malfunctioning and giving the error:

    Could not load file or assembly 'Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Access is denied.

    It turns out the folder hosting the Web API site was missing permissions for IIS_IUSRS. Adding the user with Read, Read & execute, and List folder contents permissions fixed the issue.

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