Remote Server Return Error: (401) Unauthorized

Source: Internet
Author: User
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.

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.