Solved

How do I get my localhost to work

Posted on 2009-05-18
7
381 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
  • 4
  • 3
7 Comments
 
LVL 30

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 30

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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 30

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 30

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

825 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