2013-03-15 87 views
4

我想在Windows 7本地部署我的ASP.NET网站到IIS 7.5,并且我一直收到相同的错误。我以前从未部署到IIS。本地部署asp.net mvc4到IIS 7.5

错误:

Authorization: Cannot verify acces to path (c:\inetpub\wwwroot\website) 

消息:

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

+0

您是否尝试过运行VS具有管理员权限的电子邮件? – 2013-03-20 02:26:13

回答

1

这是在设置相应的权限应用程序池,它们必须是正确的,以便应用程序在IIS上本地运行。

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

而且我的身份被设定为用于特定应用