HTTP Error 401.1-unauthorized: Access denied due to invalid creden

Source: Internet
Author: User

When a strange problem occurs, the technology says that all the new servers have problems with site opening, and the 401 error occurs. This error occurs too many times and has been solved many times. If you do not call the server, the permission is set, account Password synchronization, directory protection, and other errors, but after all the checks are completed, it still fails to solve the problem, and does not analyze whether it is a COM + component problem, delete IIS, reinstall, and no solution, later, it was not found in the security policy that all users accessing the computer from the network changed ??? And then add the default IIS user and the account of the Group to solve the problem. It may be caused by the installation of IIS in SP2 on Windows.

1. Error 401.1
Symptom: HTTP Error 401.1-unauthorized: access is denied due to invalid creden.
Analysis:
The user's anonymous access account (IUSR _ machine name by default) is disabled or has no permission to access the computer.
Solution:
(1) check whether the anonymous account set for site security in IIS manager is disabled. If yes, try the following methods to enable it:
Control Panel-> Administrative Tools-> Computer Management-> local users and groups, enable IUSR _ machine name account. If the problem persists, proceed to the next step.
(2) check whether the default anonymous access account of the site in the IIS manager or its group has the permission to access the server over the network in the Local Security Policy, if you have not attempted to grant permissions by following these steps:
Start->Program-> Administrative Tools-> Local Security Policies-> Local Policies-> User permission assignment, double-click "Access this computer from network ", add default IIS users or their groups.
Note: Generally, custom IIS default anonymous access accounts belong to groups. To ensure security, follow this rule.

2. Error 401.2
Symptom: HTTP Error 401.2-unauthorized: access is denied due to server configuration.
Cause: Anonymous Authentication disabled
Solution:
Run inetmgr, choose site Properties> Directory Security> authentication and access control> enable Anonymous Access, enter the user name, or click browse to select a valid user, enter the password twice and then confirm.

3. Error Code 401.3
Symptom: HTTP Error 401.3-unauthorized: access to requested resources is denied due to ACL settings.
Cause: IIS Anonymous Users generally belong to the guests group, and we generally assign the permissions to store the website's hard disk only to the Administrators group. In this case, according to the inheritance principle, website folders can only be accessed by members of the Administrators group. As a result, the NTFS permission for anonymous IIS users to access this file is insufficient, and thus the page cannot be accessed.
Solution:
Grant the IIS Anonymous user the permission to access the website folder by entering the security option of the folder, adding the IIS Anonymous user, and granting the corresponding permission, generally reading and writing.

 

HTTP Error 401.1-unauthorized: access is denied due to invalid creden.

Windows2003 + iis6.0 NTFS. ASP
The following error occurs: HTTP Error 401.1-unauthorized access: access is denied due to invalid creden.
I checked the information and checked the Configuration:
The website directory everyone and iusr_xxx already have read and write permissions.
Enable Anonymous Access in IIS Directory Security.
In the local policy, iusr_xxx is also enabled.

 

--------------------------------------------------------------

Another problem solution
Create a new user and assign it the same permissions as iusr_xxx. Change the anonymous access account in IIS to this

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.