Solved

How do I get my localhost to work

Posted on 2009-05-18
7
385 Views
Last Modified: 2013-12-14
I have installed IIS. but when I try to access localhost, I get following message
HTTP 401.3 - Access denied by ACL on resource
Internet Information Services
how do I correct it?
0
Comment
Question by:chandanchoubey
[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
  • 4
  • 3
7 Comments
 
LVL 31

Accepted Solution

by:
Wayne Barron earned 250 total points
ID: 24417688
Please run this file for me.
Copy and paste and save as:  Hello.asp
Save to your default IIS Location.  c:\InetPub\wwwroot
<%
response.write("Hello World I am here")
%>
And call it with this.
http://localhost/Hello.asp

Let me know if you can see the text written to the page.
If not, please let me know what error message you receive

To make sure that you are going to be reading the errors correctly.
Internet Explorer
Tools | Internet Options | Advanced
Show Friendly HTTP Error Message (Uncheck)
Apply | OK.

Carrzkiss
0
 

Author Comment

by:chandanchoubey
ID: 24420738
It worked fine I am able to run http://localhost/Hello.asp. But I want to run aspx pages when i try to run hello.aspx the folowing error occurs

The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.


--------------------------------------------------------------------------------

A name was started with an invalid character. Error processing resource 'http://localhost/Hello.aspx'. Line 1, Position 2

<%

 
0
 
LVL 31

Expert Comment

by:Wayne Barron
ID: 24420857
http://www.asp101.com/lessons/firstpage.asp
Try each of these.
Give me the errors for each # that you try.

I will check on why you are getting this error in the meantime.
Carrzkiss
0
Optimum High-Definition Video Viewing and Control

The ATEN VM0404HA 4x4 4K HDMI Matrix Switch supports 4K resolutions of UHD (3840 x 2160) and DCI (4096 x 2160) with refresh rates of 30 Hz (4:4:4) and 60 Hz (4:2:0). It is ideal for applications where the routing of 4K digital signals is required.

 
LVL 31

Expert Comment

by:Wayne Barron
ID: 24420879
That should have worked.
I just ran a test and changed the file ext. from .asp to .aspx
And the page compiled.

What version of Windows are you using?
XP, 2003 ....exc.
0
 

Author Comment

by:chandanchoubey
ID: 24426576
I m using windows XP professional, IIS V5.1
0
 
LVL 31

Expert Comment

by:Wayne Barron
ID: 24426685
How did the test run from the samples on that page?
>> http://www.asp101.com/lessons/firstpage.asp

I am using XP as well.
So, if these are working for me, without any tweaks, they should be working for you as well.
If they are not working, then the best advice I can give is to
Uninstall IIS
Reboot
Reinstall IIS
(This i have done a lot of if something is not work properly, in 9/10 times this works)
(Takes about 30 minutes total, If works, then it is better then hours (or) days trying to figure out nothing)

Good Luck
Carrzkiss
0
 

Author Comment

by:chandanchoubey
ID: 24427581
I have uninstalled IIS , rebooted system and installed IIS again several times, it does not actually remove some system files. and everytime its the same...well dont know..I think I have to uninstall OS then redo everything. But that does not look a very good idea to me. Any other solutions??
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

623 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