Solved

How do I get my localhost to work

Posted on 2009-05-18
7
375 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 30

Expert Comment

by:Wayne Barron
Comment Utility
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
Comment Utility
I m using windows XP professional, IIS V5.1
0
 
LVL 30

Expert Comment

by:Wayne Barron
Comment Utility
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
Comment Utility
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
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.
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…
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…

762 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

10 Experts available now in Live!

Get 1:1 Help Now