Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How do I get my localhost to work

Posted on 2009-05-18
7
Medium Priority
?
388 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 750 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
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 
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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
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.
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

660 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