Deploy asp.net mvc4 for IIS 7.5 locally

I am trying to deploy my ASP.NET site locally in IIS 7.5 on Windows 7 and I keep getting the same error. I have never deployed to IIS before.

Error:

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

Message:

The server is configured to use pass-through authentication to access the specified physical path. However, IIS Manager cannot verify that it has access to the built-in account. To make sure that the application pool identifier has read access to the physical path. If this server is joined to a domain and the Application Pool Identifier is NetworkService or LocalSystem, check that \ $ has read access to the physical path. Then check these settings again.

I am using the .NET Framework 4.0.30319

+4
source share
1 answer

This should be due to the permissions set in the application pool, they must be correct for the application to run locally in IIS.

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

And my identity was set up for the email used for a particular application

+1
source

Source: https://habr.com/ru/post/1469445/


All Articles