The location of this error: Your site uses forms validation, and when deployed in a production environment, setup errors, or comments.
Here's how to fix it:
1. Check if the forms configuration is blocked.
2. Have access to the resources have been developed.
Basically around the above two points can be.
Specific scenario descriptions and solutions:
The detailed error is as follows:
Server error in "/" application.
access is denied.
Description: An error occurred while accessing the resources required to service this request. The server may not be configured to access the requested URL.
error message 401.2. : Unauthorized: The server configuration caused logon failure. Verify that you have permission to view this directory or page based on the credentials that you provide and the authentication methods that are enabled on the WEB server. Contact your WEB server administrator for additional assistance.
Version information: Microsoft. NET Framework Version: 4.0.30319; ASP. NET version: 4.0.30319.17929
The solution was later found:
Open the Web.confg file on the point station and will:
<authorization>
<deny users= "?" />
</authorization>
Switch
<authorization>
<allow users= "*"/>
</authorization>
Can!
IIS7 When you deploy the project: "Error message 401.2. : Unauthorized: The server configuration caused logon failure. "The Solution