Solved

How do I get my localhost to work

Posted on 2009-05-18
7
378 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
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 
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

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.

Question has a verified solution.

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

Suggested Solutions

If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

912 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now