Solved

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

Posted on 2011-03-23
4
397 Views
Last Modified: 2013-11-19
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.
0
Comment
Question by:uzairp
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 19

Expert Comment

by:Rikin Shah
ID: 35204552
Go to Run > inetmgr > Web Sites > Default Web Site > Properties > Directory Security > Edit > Uncheck "Integrated Windows Authentication"

and then try to access.
0
 
LVL 5

Expert Comment

by:zazagor
ID: 35206507
Hi,

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

//zaZagor
0
 

Author Comment

by:uzairp
ID: 35212592
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!
0
 
LVL 19

Accepted Solution

by:
Rikin Shah earned 500 total points
ID: 35212763
Can u tell who are the members in your "wwwroot properties" - security tab?

There should be-
1. Everyone with Read & Execute, List Folder Contents, and Read rights
2. Users (Machinename\Users) with above permissions
3. VS Developers (Machinename\VS Developers) with above & Modify and Write permissions
4. Launch IIS Process Account (MachineName\IWAM_...) with Deny Write permission
5. Internet Guest Account (MachineName\IUSR_...) with Deny Write permission

Check these and try to access.
0

Featured Post

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
The viewer will learn how to count occurrences of each item in an array.

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question