In win2008/2012, incorrect website permission settings in iis7.5/iis8 cause access failure (401 Unauthorized).

Published: 2014-12-29

Website access errors such as 401.3, 500.19, etc. occur:


Symptom 1:

HTTP Error 401.3 - Unauthorized

1.jpg

Symptom 2:

blob.png

Solution: Open Management Assistant, double-click the site, then click Repair "You are not authorized to view this page" to repair.

1.jpg

Manual website creation repair method:

1. Create a normal account, enter net user user password /add in the command line 

Here, the testuser user is used as an example to add a testuser user with password test

net user testuser test /add 

1.jpg

Next, assign permissions to the directory. Command: cacls D:\wwwroot\test /e /g testuser:f /T   Note: replace D:\wwwroot\test with the actual directory of your website.

2. Open the site, click "Basic Settings" on the right, then modify the user as shown in the figure below.

1.jpg

If there are still errors, please click the "Authentication" menu, and modify the account as shown in the figure below.

1.jpg

If the problem still is not solved, please submit a ticket for processing.


For windows2003 system, see the tutorial: https://www.west.cn/faq/list.asp?unid=596