Windows 2008 IIS prompt 401 Unauthorized access denied _win server due to invalid credentials

Source: Internet
Author: User
Tags anonymous

401-Not authorized: Access is denied because the credentials are invalid.
You do not have permission to view this directory or page using the credentials provided.

The IIS Default Wizard is configured to complete this error when accessing.

Solution:

Point Open authentication


Turn it on, OK.

Restart IIS.

If you're on the way no solution can be referenced

1, open "IIS Information Service Manager"-"Select your published website-" Select the function View "Authentication"-Right Key Anonymous authentication, select "Edit", select "Specific user IUSR";
2, right key to publish the website folder, choose "Security"-"edit"-"Add"-"advanced"-"immediately inquires"-"select" IUSR users, and then save;

Come on, try it.

Windows 2008 R2 is much more complex to set than the previous version.

The first problem I've encountered is

401-Not authorized: Access is denied because the credentials are invalid.

Solve:

.1 website's home directory, the user is assigned to the Iis_iusers group (anonymous user selects the application pool label, the user defined in the logo)

.2 Group Policy, which allows iis_iusers to access the computer from the network

401-Not authorized: Access is denied because the credentials are invalid.
You do not have permission to view this directory or page using the credentials provided.

The IIS Default Wizard is configured to complete this error when accessing.

Solution:

Point Open authentication


Turn it on, OK.

Restart IIS.

If you're on the way no solution can be referenced

1, open "IIS Information Service Manager"-"Select your published website-" Select the function View "Authentication"-Right Key Anonymous authentication, select "Edit", select "Specific user IUSR";
2, right key to publish the website folder, choose "Security"-"edit"-"Add"-"advanced"-"immediately inquires"-"select" IUSR users, and then save;

Come on, try it.

Windows 2008 R2 is much more complex to set than the previous version.

The first problem I've encountered is

401-Not authorized: Access is denied because the credentials are invalid.

Solve:

.1 website's home directory, the user is assigned to the Iis_iusers group (anonymous user selects the application pool label, the user defined in the logo)

.2 Group Policy, which allows iis_iusers to access the computer from the network

System Operating Environment: Windows Server 2008 + SQL Server 2008 + IIS Problem Resolution:

If your file is in NTFS format, most of the reason for the 401 error is due to the folder permissions in the directory that the site points to, set the appropriate folder permissions

The permissions area of the IIS site is divided into two, one is the page execution permission, and the other is the application pool execution permission. In general, this problem can be resolved by giving the site Directory IIS_IUSRS the user group's execution permissions.

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.