Access is denied, accessisdenied
Yesterday I learned ASP. NET MVC publish and IIS distribution site "simple ASP. NET MVC release" http://www.cnblogs.com/insus/p/4466200.html. In IIS today:
When another website is released, the system returns an error message: Access is denied.
Server Error in '/A' Application.
Access is denied.
Description:An error occurred while accessing the resources required to serve this request. The server may not be configured for access to the requested URL.
Error message 401.2 .:Unauthorized: Logon failed due to server configuration. verify that you have permission to view this directory or page based on the credentials you supplied and the authentication methods enabled on the Web server. contact the Web server's administrator for additional maintenance ance.
Version Information:Microsoft. NET Framework Version: 4.0.30319; ASP. NET Version: 4.0.30319.34009
Because this application uses windows authentication, you can view it in Web. config:
In this case, you can try the following solution. Open IIS and select your Application.
Then open Authentication:
After Enable is enabled, the problem is solved.
Browse again: