Solved

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

Posted on 2011-03-23
4
398 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Unexpected End of File 11 84
locate sql commands in C# visual studio Project 6 67
How to post data to an API using ASP Classic 3 50
SBS 2008 active sync issue 2 48
Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
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 …
This video teaches users how to migrate an existing Wordpress website to a new domain.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

737 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