IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old September 16th, 2004, 09:36 AM
lee100 lee100 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 3 lee100 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy Could not find a web server at ‘localhost’

I am having a problem with running an ASP.Net project on my laptop that is running XP professional (SP2) and IIS 5.1. When I start a new ASP.NET project in Visual Studio I get the error message:

”Unable to create Web Project ‘WebApplication1’. Could not find a web server at ‘localhost’ on port 80. Please check to make sure that the web server name is valid and your proxy settings are set correctly. If you are sure that everything is correct, the web server may be temporarily out of service”.

If I try accessing an existing ASP.Net project I copied from another Machine I get the error:

“Unable to open Web project <Project Name>. Unable to validate that the file path ‘C:\Inetpub\wwwroot\<ProjectDirectory>’ matches the URL path ‘http://localhost/<ProjectName>’. A connection with the server could not be established.

When I try to load up the IIS default page in Internet Explorer (using ‘http://localhost/’ as the address) it tells me ‘WWW disabled’ even though IIS appears to be running fine. I can however load the ASP.NET project start page by using 127.0.0.1 as the address rather than localhost. It looks like localhost is not mapped to 127.0.0.1 but when I ping both in the command window I get replies indicating that they are mapped?

Any help for this newbie would be much appreciated?

Reply With Quote
  #2  
Old September 16th, 2004, 06:36 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,716 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 33 m 54 sec
Reputation Power: 688
Turn off all firewalls and try it.
__________________
======
Doug G
======
"Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton

Reply With Quote
  #3  
Old September 17th, 2004, 03:42 AM
lee100 lee100 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 3 lee100 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Tried but no luck

Yup. Tried that but unfortunately I still get the same problem. I suspect it's something to do with the laptop being unable to reconcile 127.0.0.1 with 'localhost'. Thanks for the thought though. If you have any other suggestions then I'd be v. grateful to hear them.

Regards

Lee100

Reply With Quote
  #4  
Old September 17th, 2004, 05:45 AM
lee100 lee100 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 3 lee100 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Smile Resolved

After much trial and error this issue has finally been resolved. This was done (on my XP Pro machine) by doing the following:

Load Internet Explorer (ver 6.0) and Select Tools -> Internet Options -> Connections Tab -> Lan Settings and set the ‘Bypass proxy server for local addresses’. Press the Advanced button and in the text box headed ‘Do not use proxy server for addresses beginning with:’ enter the address 127.0.0.1

I still have to occasionally re-set the work offline option on IE and I did get some trouble with the debugging permissions but at least the thing works now.

Reply With Quote
  #5  
Old September 17th, 2004, 11:32 AM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,716 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 33 m 54 sec
Reputation Power: 688
I'm glad you got it going.

Reply With Quote
  #6  
Old June 8th, 2005, 02:52 AM
grant2328 grant2328 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2005
Posts: 1 grant2328 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 30 m 40 sec
Reputation Power: 0
Error message: WWW disabled. after installing IIS

Thanks Lee! I followed your instructions to bypass proxy for local addresses in IE.
However, I had to change one thing in IIS settings before I got it to avoid displaying the "WWW Disabled" message.
In Internet Information Services (Start -> Control Panel -> Performance&Maint -> Admin Tools), drill down to "Default Web Site", right click "Default Web Site", select properties, click the "Web Site" tab, ensure that the IP Address value is set to 127.0.0.1
I also selected the "Home Directory" tab and ticked the Local Path's "Read" option.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > Could not find a web server at ‘localhost’


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway