Link to home
Start Free TrialLog in
Avatar of Jay P
Jay PFlag for United States of America

asked on

Getting error when accessing localhost on win XP IIS, "You are not authorized to view this page"

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)
Background:
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.
Avatar of Rikin Shah
Rikin Shah
Flag of India image

Go to Run > inetmgr > Web Sites > Default Web Site > Properties > Directory Security > Edit > Uncheck "Integrated Windows Authentication"

and then try to access.
Hi,

Try to modify user/access rights on the fil/folder whre the default web site resides.
Try adding everyone --> full control

//zaZagor
Avatar of Jay P

ASKER

Did what rikin_shah suggested and tried again, it still gives me a login window - no change.

zazagor:I went to file explorer and selected 'inetpub/wwwroot'-> properties -> unchecked read-only property of the folder -> OK.
Is this what you wanted me to try or is it something else? please explain.
Any other suggestions!
ASKER CERTIFIED SOLUTION
Avatar of Rikin Shah
Rikin Shah
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial