Getting error when accessing localhost on win XP IIS, "You are not authorized to view this page"
Posted on 2011-03-23
I installed IIS on my Windows XP computer and typed localhost on internet explorer and it gave me a login box prompting me to enter user name and password. I am logged in to windows as administrator though. I enter username and password but it keeps asking for the same information. I hit cancel button and got the following error message;
You are not authorized to view this page
You do not have permission to view this directory or page using the credentials you supplied.
Please try the following:
Click the Refresh button to try again with different credentials.
If you believe you should be able to view this directory or page, please contact the Web site administrator by using the e-mail address or phone number listed on the localhost home page.
HTTP 401.2 - Unauthorized: Logon failed due to server configuration
Internet Information Services
Technical Information (for support personnel)
This is usually caused by a server-side script not sending the proper WWW-Authenticate header field. Using Active Server Pages scripting this is done by using the AddHeader method of the Response object to request that the client use a certain authentication method to access the resource.
Please help resolve this problem.