Handling method for the unauthorized error prompt caused by website permission settings in windows2003.

Published: 2012-05-28

```html

 windows2008/2012 System Reference Tutorial:https://www.west.cn/faq/list.asp?unid=847

Symptom:

Causes of the problem:

  1. Directory permissions lost  

  2. The password of the computer user account ftpname is inconsistent with that recorded in IIS. The main reason is that the website was not created according to the standard process of the Website Management Assistant. For example, after the website is created with the Website Management Assistant, the website root directory was manually specified in IIS to another directory, which causes that new directory to lack the necessary permissions. It is recommended not to manually modify the directory path in IIS.


Solution: 1. If the website was created with the Website Management Assistant, double-click this site in the Management Assistant, and then click “Fix the problem that you are not authorized to view this page”. (If this button is not available, please upgrade the software to the latest version.)

1.jpg

Solution for manually created websites:

Step 1 Please go to My Computer--right-click--Manage--Local Users and Groups--Users--select the user corresponding to your site(if there is none, directly create a new user corresponding to the site)---right-click---Set Password---click Continue in the warning box that pops up---after setting the new password, click OK.As shown in the figure: 

Step 2 Double-click the Internet Information Services(IIS) Manager on the desktop---Web Sites---the site you want to configure---right-click---Properties---Directory Security---under Authentication and access control, click  Edit---select Enable anonymous access---in User name, enter the user name from Step 1---in Password, enter the password you set in Step 1---OK---enter the password again---OK---OK

Step 3 Go to the D:\wwwroot directory and select the site you are operating on---right-click---Properties---Security---add the user name you just set and set its permission to Full Control---OK.As shown in the figure:

 

If these permissions already exist but access still indicates that it is not authorized, please right-click the site directory—Properties—Security—Advanced—check “Replace all child object permission entries with inheritable permission entries from this object”—click Apply and confirm, as shown in the figure:




```