IIS 部署问题-The requested page cannot be accessed because the related configuration data for the page is invalid error

https://stackoverflow.com/questions/9216158/the-requested-page-cannot-be-accessed-because-the-related-configuration-data-for

 

Module  IIS Web Core
Notification    Unknown
Handler Not yet determined
Error Code  0x80070005
Config Error    Cannot read configuration file due to insufficient permissions
Config File \\?\C:\Users\Yasso\Documents\Visual Studio 2008\WebSites\WebSite5\web.config

 

文件夹没有给 IIS_IUSRS 权限

Solution

  1. IIS Manager
  2. Right clicked on that Website
  3. Edit Permissions
  4. Added user 'IIS_IUSRS' from Security tab
  5. Gave full permissions to User 'IIS_IUSRS‘
posted @ 2018-11-29 16:45  andy_0212  阅读(489)  评论(0编辑  收藏  举报