HTTP Error 401.1-Unauthorized: Access denied due to invalid credentials

Source: Internet
Author: User
Tags anonymous iis ntfs permissions
HTTP Error 401.1-Unauthorized: Access denied due to invalid credentials
HTTP Error 401.3-Unauthorized: Access is denied because the ACL is set on the requested resource.
HTTP Error 401.2-Unauthorized: Access is denied due to server configuration.
----------------------------------------a nasty split line-------------------------------------------------------
Encounter a strange problem, the new server open site all have a problem, there are 401 errors, this error occurred too many times, resolved a lot of time, but the call is the rights settings, account password synchronization, directory protection and other aspects of the error, but after all the check is not resolved, there is no analysis is COM + Component issues, remove IIS, reinstall, and no solution, and later inadvertently found in the security policy, users who access this computer from the network become ... The key to feeling the problem should be here, and then add the IIS default user and the account of the group to which it belongs, and the problem is resolved. A bit dizzy, it is possible that the system under WINDOWS2003SP1 installs IIS under 2003SP2 to cause problems.
1, error number 401.1
Symptom: HTTP Error 401.1-Unauthorized: Access is denied due to invalid credentials.
Analysis:
The user will not be able to access the computer because it is disabled by the user's anonymous access account (the default is the IUSR_ machine name) or if it has no access.
Solution:
(1) To see if the anonymous account for site security settings in IIS Manager is disabled, if so, try to enable it in the following ways:
Local Users and groups, Computer Management, management tools, control Panel, enable the IUSR_ machine name account. If it is not resolved, proceed to the next step.
(2) To view the local security policy, the default anonymous access account for the site in IIS Manager or the group to which it belongs has permission to access the server through the network, if you do not attempt to grant permissions by using the following steps:
User rights assignment, local policies, security policies, local security policy, administrative Tools, start, and more, double-click Access this computer from the network to add the IIS default user or the group to which they belong.
Note: General custom IIS default anonymous access accounts belong to groups, and for security, there is no special need to follow this rule.
2, error number 401.2
Symptom: HTTP Error 401.2-Unauthorized: Access is denied due to server configuration.
Cause: Anonymous authentication is turned off
Solution:
Run inetmgr, open Site properties, directory security, authentication and access control, check "Enable anonymous access", enter a user name, or click "Browse" to select a legitimate user and enter the password two times to confirm.
3, error number: 401.3
Symptom: HTTP Error 401.3-Unauthorized: Access is denied because the ACL is set on the requested resource.
Cause: IIS anonymous users generally belong to the Guests group, and we generally assign the permissions of the hard disk hosting the site only to the Administrators group, this time according to the principle of inheritance, the site folder is only members of the Administrators group to access, The NTFS permissions that cause IIS anonymous users to access the file are insufficient to cause the page to be inaccessible.
Solution:
To give IIS anonymous users access to the Web site folder, method: Enter the folder's security options, add IIS anonymous users, and give the appropriate permissions, generally read and write.



HTTP Error 401.1-Unauthorized: Access is denied due to invalid credentials.


windows2003+iis6.0 NTFS. Asp
Now visit the Web site tip: HTTP error 401.1-Unauthorized: Access is denied due to invalid credentials.
Checked the data. Configuration:
The directory of the site everyone and iusr_xxx, already have read and write permission.
IIS directory security, the Enable Anonymous access option is checked.
In the local policy, Iusr_xxx is also enabled.
or prompt the above error, please also pay attention to where? Urgent ... Thank you very much.
Problem Solving Solutions
Create a new user and assign the same permissions as iusr_xxx to it, and 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.