Allow ASP. 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

Source: Internet
Author: User

Run the MVC3 program to report the following error

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!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.