更新时间:2023-12-01 15:31:16
作为一个快速而又脏的修复,授予 IIS_IUSRS
group 读取/执行或修改对您的网络文件夹的权限... 但请勿在互联网面向服务器上进行此操作,请继续阅读....
As a quick and dirty fix, grant the IIS_IUSRS
group Read/Execute or Modify permissions to your web folder... BUT DON'T DO THIS ON AN INTERNET FACING SERVER, read on....
要正确解决此问题,您应该为您的网站授予应用程序池标识读取/执行或修改
To fix this properly you should grant the Application Pool Identity for your site Read/Execute or Modify permissions to your application's web folder. To do this:
编辑
应用程序池标识
单选按钮单击确定
ApplicationPoolIdentity
下拉列表然后单击确定
。确定
以保存和关闭应用程序池高级设置pa ge Edit
Application pool identity
radio button the click OK
ApplicationPoolIdentity
from the "Built-in account" drop down list then click OK
.OK
again to save and dismiss the Application Pool advanced settings page icacls< path_to_site> / grantIIS APPPOOL \< app_pool_name>(CI)(OI)(M)
例如:
icacls C:\inetpub \ www.root \mysite \ / grantIIS APPPOOL \DEFAULTAPPPOOL:( CI)(OI)(M)
如果一切顺利 icacls.exe
将报告:
processed file: c:\inetpub\wwwroot\mysite
Successfully processed 1 files; Failed processing 0 files