2013-03-15 3 views
4

Я пытаюсь развернуть свой сайт ASP.NET локально в IIS 7.5 на Windows 7, и я продолжаю получать ту же ошибку. Раньше я никогда не развертывался в 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 с правами администратора? –

ответ

1

Это было делать с правами, установленными в пул приложений, они должны быть правильными, чтобы приложение запускалось локально в IIS.

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

И моя личность была установлена ​​на электронный адрес, используемый для конкретного применения

Смежные вопросы