加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > asp.Net > 正文

在本地部署asp.net mvc4到IIS 7.5

发布时间:2020-12-16 09:38:44 所属栏目:asp.Net 来源:网络整理
导读:我正在尝试将我的ASP.NET网站本地部署到 Windows 7上的IIS 7.5,并且我一直收到相同的错误.我以前从未部署过IIS. 错误: Authorization: Cannot verify acces to path (c:inetpubwwwrootwebsite) 信息: The server is configured to use pass-through aut
我正在尝试将我的ASP.NET网站本地部署到 Windows 7上的IIS 7.5,并且我一直收到相同的错误.我以前从未部署过IIS.

错误:

Authorization: Cannot verify acces to path (c:inetpubwwwrootwebsite)

信息:

The server is configured to use pass-through authentication with a
built-in account to access the specified physical path. However,IIS
Manager cannot verify whether the built-in account has access. Make
sure that the application pool identity has Read access to the
physical path. If this server is joined to a domain,and the
application pool identity is NetworkService or LocalSystem,verify
that $has Read access to the physical path.
Then test these settings again.

我正在使用.NET Framework 4.0.30319

解决方法

它与应用程序池中设置的权限有关,它们必须正确才能使应用程序在IIS上本地运行.

Application Pools
 -> Right click Pool
 -> Advanced Settings
 -> Process Model
    -> Identity

我的身份设置为用于特定应用程序的电子邮件

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读