tags:

views:

290

answers:

4

hello everybody.I have a problem . When i try to run an ASP.NET page in VS 2008 using a browser(Internet Explorer,Mozilla,...), I get a "Internet Explorer cannot display the webpage" error. I have Windows Vista with SP1 installed.

I have tried this and I get the same error. I have even tried disabling the firewall and antivirus. I am using defauld development web server, not IIS. I have tried creating a blank project and it still does not work

+1  A: 

Have you tried disabling Friendly Error Messages in Internet Explorer?

in IE: Options -> Advanced -> Show Friendly HTTP Error Messages. Should give you more information.

Richard Slater
I have tried this and I get the same error. I have even tried disabling the firewall and antivirus. I am using defauld development web server, not IIS. I have tried creating a blank project and it still does not work
alinpopescu
+1  A: 

That isn't a lot to go on... are you using the default development web server? Or IIS? Have you tried a new web project (to see if it is a configuration problem)?


Edit;

this could have been IPv6? See "Strange Problem - Unable to Connect to the ASP.Net WebServer on Localhost". Of course, based on the timing, you could be Steve, in which case hi ;-p

Marc Gravell
I have tried this and I get the same error. I have even tried disabling the firewall and antivirus. I am using defauld development web server, not IIS. I have tried creating a blank project and it still does not work
alinpopescu
You didn't have to mark as answer if that didn't help...
Marc Gravell
That IPv6 issue only was a problem on FF. Would cause stalls of 1 second with ajax.
leppie
It's not me :-) Definately sounds like the same problem though.
Steven Robbins
My blog post, and you get the rep.. no wonder you're on 34.4k ;-)
Steven Robbins
A: 

Ok, this post assumes you are just clicking either play or using CTRL+F5 keyboard shortcuts to run the site. Can you confirm the following after running your solution:

  1. ASP.NET development webserver starts (you will see icon in system tray)
  2. If step one is working, right click this select show details on the menu
  3. Click the Root URL link to open a browser
  4. Ensure your browser is open to this URL and can display your page
  5. Ensure no proxy server settings are being used, or that you set no proxy for localhost
  6. Recheck your firewall
  7. Try some basic network tests by using PuTTY to connect to the ASP.NET Development Webserver (do google search for: Using HTTP over telnet)

PS: If you start VS2008 with a right click->run as Administrator, does the same problem occur?

Wayne
A: 

I encountered the same error and browsing on Internet I found this solution. http://accidentaltechnologist.com/asp-net/aspnet-development-server-problems-under-vista/

Basically is because the ipv6 ( You can prove it easyly, just change the word localhost by 127.0.0.1 in the URL you get when using CTRL+F5 keyboard shortcut) Hope that be useful for you.