IIS configuration 401 error perfect solution

  
                  1. Error number 401.1

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

Analysis:

Since the user's anonymous access account (the default is IUSR_ machine name) is disabled, or does not have access to the computer, the user will not be able to access.

Solution:

(1) Check if the anonymous account of the site security settings in IIS Manager is disabled. If yes, please try the following:

Control Panel -> Administrative Tools -> Computer Management -> Local Users and Groups, enable the IUSR_ machine name account. If it is not resolved, please continue to the next step.

(2) view the local security policy, whether IIS Manager site default anonymous access account or the group to which they belong have permission to access the network through the server, if there is no attempt to give permission with the following steps:

Start->Program->Administrative Tools->Local Security Policy->Security Policy->Local Policy->User Rights Assignment, double-click "Access this computer from the network", add IIS default user Or the group to which it belongs.

Note: The general custom default IIS anonymous access account belong to the group, for safety, there is no special need, please follow this rule.

2, error number 401.2

symptoms: HTTP Error 401.2 - Unauthorized: Access is denied due to server configuration.

Reason: Anonymous authentication is turned off //This article comes from the computer software and hardware application network www.45it.com reproduced please specify

Solution:

Run inetmgr, open Site Properties -> Directory Security -> Authentication and Access Control -> Check "Enable anonymous access", enter the username, or click "Browse" to select the legitimate user, and enter the password twice to determine.

3, Error Number: 401.3

symptoms: HTTP Error 401.3 - Unauthorized: Access the ACL settings due to the requested resource is denied.

reasons: IIS anonymous users typically belong to the Guests group, and we generally hard drive storage site permissions assigned only to administrators group, this time in accordance with the principle of succession, the Web site folder, only members of the administrators group can access, The NTFS permissions that caused the IIS anonymous user to access the file were insufficient, resulting in the page being inaccessible.

Solution:

Give IIS anonymous users access to the website folder, method: enter the security options of the folder, add IIS anonymous users, and give the appropriate permissions, generally read, write.
Copyright © Windows knowledge All Rights Reserved