Accidental Technologist

Musings about Entrepreneurship, Technology and Software Development

  • Home
  • About
  • Still River Software
  • Privacy Policy

Powered by Genesis

You are here: Home / ASP.NET / ASP.NET Development Server Problems Under Vista

ASP.NET Development Server Problems Under Vista

October 25, 2007 by Rob Bazinet

Tweet

I guess I was bored last night so I decided to upgrade my development system to Vista.  I have been running Windows XP Pro without any real issues but I wanted to start using some of the features of Vista I had only used in my virtual machines.

The upgrade went pretty well with only a handful of driver issues for video, printer and my sound card.

I installed the Visual Studio 2005 updates to run on Vista outlined by Microsoft and Visual Studio seemed to run just fine.    Note that ASP.NET is not installed by default, so you will need to enable it.

I normally use the ASP.NET Development Server for ASP.NET applications for development and testing and move over to IIS for deployment.   The only real problem I faced was hitting Ctrl-F5 in Visual Studio 2005 to run one of my web applications, the server started, Internet Explorer opened but nothing happened.  I waited for several minutes, but nothing.

After searching the web many different ways I found out that Vista implements IPv6 (versus the old IPv4) and browsers may have issues resolving http://localhost.  Since I use both Internet Explorer and Firefox for web development I decided to try just copying the URL the ASP.NET Development Server was using and pasting manually into both browsers and the same result…nothing, no error, nothing.

It turns out others have had this same problem and you can turn off IPv6 in Firefox pretty easily.

Disable IPv6 in Firefox
  1. Type about:config in the address bar and press Enter.
  2. Scroll down until you find network.dns.disableIPv6.
  3. Double-click on it to change its value to true.
  4. Restart Firefox.

After restarting Firefox I pasted the address used by ASP.NET Development Server into the Firefox address bar….and it worked like a charm.  So, it seems IPv6 is the issue.

I spent an hour or so trying to find a similar configuration for Internet Explorer but had no luck.  If a reader finds a setting in IE to disable IPv6 I would like to hear about it so I can update this post.

The solution I did get to work in IE was to disable IPv6 for my system.  I found a great article by the Cable Guy which pointed out what to do.   In short I set the following key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\tcpip6\Parameters\DisabledComponents

to a value of 0xff and restarted the system.  Checking the ASP.NET Development Server URL in the IE address bar displayed my page.

Conclusion

This worked for me but I have reservations about the solution.  What are the side-effects or the future effects of disabling IPv6 which Microsoft includes with Vista.  If the system evolves and I need IPv6 then I will have a different problem.

If someone has a different solution I would like to hear it.  I am not keen on disabling IPv6 but it works and it is not irreversible.  On the plus side, browsing the web seems to be faster.

Technorati Tags: Microsoft, Vista, Visual Studio 2005, IPv6

Share this:

  • LinkedIn
  • Twitter
  • Facebook
  • Email
  • More
  • Pinterest
  • Tumblr
  • Pocket
  • Reddit

Related

Filed Under: ASP.NET

Care about your privacy? I do and use Fathom Analytics on this site.

Fathom Analytics

Comments

  1. Charles Assaf says

    January 8, 2008 at 11:09 pm

    Found a more elegant solution for you (don’t kick yourself too hard).

    Disable IPv6 in your network adapter’s properties (you likely wont need it for a couple of years yet, and M$FT should have figured it out by then).

    This works for both IE and Firefox (without changing Firefox’s config).

  2. Charles Assaf says

    January 8, 2008 at 11:09 pm

    Found a more elegant solution for you (don’t kick yourself too hard).
    Disable IPv6 in your network adapter’s properties (you likely wont need it for a couple of years yet, and M$FT should have figured it out by then).
    This works for both IE and Firefox (without changing Firefox’s config).

  3. Rob Bazinet says

    January 8, 2008 at 11:11 pm

    @Charles I tried this and it did not work, I had to do what I documented in my post. I found out disabling IPv6 on the network adapter did not disable for loopback.

    Thanks.

  4. Rob Bazinet says

    January 8, 2008 at 11:11 pm

    @Charles I tried this and it did not work, I had to do what I documented in my post. I found out disabling IPv6 on the network adapter did not disable for loopback.
    Thanks.

  5. Saeed Tabrizi says

    January 19, 2008 at 10:01 am

    Hi

    I have same problem too in vs2008 on vista .

    I configured my firefox as you say , its working good

    But my system , still not working by localhost .

    if you find any solution , please tell to me by my email.

  6. Saeed Tabrizi says

    January 19, 2008 at 10:01 am

    Hi
    I have same problem too in vs2008 on vista .
    I configured my firefox as you say , its working good
    But my system , still not working by localhost .
    if you find any solution , please tell to me by my email.

  7. Rob Bazinet says

    January 19, 2008 at 12:19 pm

    @Saeed This post IS a solution. If you follow it, it works on Vista.

  8. Rob Bazinet says

    January 19, 2008 at 12:19 pm

    @Saeed This post IS a solution. If you follow it, it works on Vista.

  9. portella says

    February 6, 2008 at 3:23 pm

    wow … Thanks a lot Rob! This was happing to me also … I tried to disable IPv6 in network adapter?s properties as Charles suggested without success …

    Thanks!

  10. portella says

    February 6, 2008 at 3:23 pm

    wow … Thanks a lot Rob! This was happing to me also … I tried to disable IPv6 in network adapter?s properties as Charles suggested without success …
    Thanks!

  11. Rob Bazinet says

    February 6, 2008 at 3:36 pm

    @Portella Great, glad I could help. It just shows Vista is in need of a service pack or two.

  12. Rob Bazinet says

    February 6, 2008 at 3:36 pm

    @Portella Great, glad I could help. It just shows Vista is in need of a service pack or two.

  13. marko says

    February 9, 2008 at 3:54 pm

    what about windows xp pro, i have wrong ports in IE and in ASP.NET development server when i load local webpage..

    Visual studio 2008 pro..

  14. marko says

    February 9, 2008 at 3:54 pm

    what about windows xp pro, i have wrong ports in IE and in ASP.NET development server when i load local webpage..
    Visual studio 2008 pro..

  15. Rob Bazinet says

    February 10, 2008 at 8:35 pm

    @Marko Not sure about XP Pro, I have never see issues with VS 2008 and XP Pro.

  16. Rob Bazinet says

    February 10, 2008 at 8:35 pm

    @Marko Not sure about XP Pro, I have never see issues with VS 2008 and XP Pro.

  17. Manni says

    February 15, 2008 at 5:38 am

    Wow. Interesting.

    I’d be curious to see what Vista’s hosts file looks like, though. There should be some IP attached to localhost in there.

  18. Manni says

    February 15, 2008 at 5:38 am

    Wow. Interesting.
    I’d be curious to see what Vista’s hosts file looks like, though. There should be some IP attached to localhost in there.

  19. Saad Siddique says

    February 29, 2008 at 10:22 am

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\tcpip6\Parameters\DisabledComponents

    i did not find the Disables Components in my Parameters. I’m still unable to solve my problem in IE, however, it’s working fine in FireFox now

  20. Saad Siddique says

    February 29, 2008 at 10:22 am

    HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicestcpip6ParametersDisabledComponents
    i did not find the Disables Components in my Parameters. I’m still unable to solve my problem in IE, however, it’s working fine in FireFox now

  21. nats says

    March 3, 2008 at 1:52 pm

    HI!

    I have Vista Home Premium too. I still could not make the VSW 2008 work. I have the same problem as Siddique. I don’t see any DisabledComponents in my Registry.

    Do u know why?

    Thanks

  22. nats says

    March 3, 2008 at 1:52 pm

    HI!
    I have Vista Home Premium too. I still could not make the VSW 2008 work. I have the same problem as Siddique. I don’t see any DisabledComponents in my Registry.
    Do u know why?
    Thanks

  23. michal says

    March 6, 2008 at 1:44 pm

    on my vista and vs2008 i only have to change in IE from http://localhost:portnum/SomePage.aspx to http://127.0.0.1:portnum/SomePage.aspx and everything works

  24. michal says

    March 6, 2008 at 1:44 pm

    on my vista and vs2008 i only have to change in IE from http://localhost:portnum/SomePage.aspx to http://127.0.0.1:portnum/SomePage.aspx and everything works

  25. Peter Bucher : Kein Zugriff auf Webseite mit IE und Vista / WS08 says

    March 11, 2008 at 5:32 pm

    […] Ein Leidensgenosse […]

  26. Peter Bucher : Kein Zugriff au says

    March 11, 2008 at 5:32 pm

    […] Ein Leidensgenosse […]

  27. michal says

    March 15, 2008 at 3:09 pm

    I found even better way, just comment int system32/drivers/etc/ line containing “[:::1] localhost”

  28. michal says

    March 15, 2008 at 3:09 pm

    I found even better way, just comment int system32/drivers/etc/ line containing “[:::1] localhost”

  29. Rob Bazinet says

    March 15, 2008 at 5:39 pm

    @Michal Great info, I will give it a try on my next Vista install.

  30. Rob Bazinet says

    March 15, 2008 at 5:39 pm

    @Michal Great info, I will give it a try on my next Vista install.

  31. Sabith says

    March 23, 2008 at 8:25 am

    thanx Rob Bazinet and michel,better method is comment int system32/drivers/etc/host line containing :::1 localhost

  32. Sabith says

    March 23, 2008 at 8:25 am

    thanx Rob Bazinet and michel,better method is comment int system32/drivers/etc/host line containing :::1 localhost

  33. Mikael Nygaard says

    March 24, 2008 at 5:32 pm

    #14 is the best solution.

    Comment out the line in the host file with where ::1 is mapped to localhost. Worked straight away.

  34. Mikael Nygaard says

    March 24, 2008 at 5:32 pm

    #14 is the best solution.
    Comment out the line in the host file with where ::1 is mapped to localhost. Worked straight away.

  35. Edson Bassani says

    April 3, 2008 at 10:03 pm

    Fantastic! It saved me a lot of work!

    Thanks so much!

  36. Edson Bassani says

    April 3, 2008 at 10:03 pm

    Fantastic! It saved me a lot of work!
    Thanks so much!

  37. Rob Bazinet says

    April 3, 2008 at 10:41 pm

    @Edson Great to hear. Helping out another person makes having a blog worth it.

  38. Rob Bazinet says

    April 3, 2008 at 10:41 pm

    @Edson Great to hear. Helping out another person makes having a blog worth it.

  39. Data Access and Data Binding Sample Application Setup - Ryan Smith says

    April 11, 2008 at 9:43 pm

    RE: ASP.NET Development Server Problems Under Vista

    Pingback from Data Access and Data Binding Sample Application Setup – Ryan Smith

  40. Data Access and Data Binding S says

    April 11, 2008 at 9:43 pm

    RE: ASP.NET Development Server Problems Under Vista

    Pingback from Data Access and Data Binding Sample Application Setup – Ryan Smith

  41. ASP.NET Developer Server and Vista says

    April 12, 2008 at 4:57 pm

    RE: ASP.NET Development Server Problems Under Vista

    ASP.NET Developer Server and Vista

  42. ASP.NET Developer Server and V says

    April 12, 2008 at 4:57 pm

    RE: ASP.NET Development Server Problems Under Vista

    ASP.NET Developer Server and Vista

  43. Richard vN says

    April 21, 2008 at 5:13 pm

    Ad an extra : before the ‘::1’ in the line where ::1 is mapped to localhost. Worked straight away.

    It Should be :::1 instead of ::1. A little ‘bug’ in Vista.

    ——————————————————————————–

  44. Richard vN says

    April 21, 2008 at 5:13 pm

    Ad an extra : before the ‘::1’ in the line where ::1 is mapped to localhost. Worked straight away.
    It Should be :::1 instead of ::1. A little ‘bug’ in Vista.
    ——————————————————————————–

  45. Back in the Vista Saddle Again says

    April 29, 2008 at 3:29 pm

    RE: ASP.NET Development Server Problems Under Vista

    I have wanted to be a Windows Vista user and developer since before it was released, but there always seemed like something didn’t work or some application I used kept crashing. The pure pain of the performance of Vista alone was not worth the "upgrade"

  46. Back in the Vista Saddle Again says

    April 29, 2008 at 3:29 pm

    RE: ASP.NET Development Server Problems Under Vista

    I have wanted to be a Windows Vista user and developer since before it was released, but there always seemed like something didn’t work or some application I used kept crashing. The pure pain of the performance of Vista alone was not worth the "upgrade"

  47. M.S. Babaei says

    April 30, 2008 at 10:49 am

    I have Vista SP1

    and VS2008

    and it works…

    and I’m testing

    Vista (withou SP) with VS2005 and VS2008

    and it works fine!

    I think it’s depending on Hardware

    because one of my friends has the same problem!

  48. M.S. Babaei says

    April 30, 2008 at 10:49 am

    I have Vista SP1
    and VS2008
    and it works…
    and I’m testing
    Vista (withou SP) with VS2005 and VS2008
    and it works fine!
    I think it’s depending on Hardware
    because one of my friends has the same problem!

  49. D-Man says

    May 2, 2008 at 4:16 pm

    Thanks Richard vN.

    I was one of the eager adopdters of Vista as I wanted to have some hands-on experience of dev’ing for the OS before it took root and I’ve had this problem for years.

    The simplicity of your solution shows how little I know about IPv6 but like Rob, I was never comfortable with the wholesale disabling of it either.

    The amazing thing is that my current installation of Vista was installed from a disc with SP1 slipstreamed in, suggesting that this ‘bug’ seems to have slipped by M$.

  50. D-Man says

    May 2, 2008 at 4:16 pm

    Thanks Richard vN.
    I was one of the eager adopdters of Vista as I wanted to have some hands-on experience of dev’ing for the OS before it took root and I’ve had this problem for years.
    The simplicity of your solution shows how little I know about IPv6 but like Rob, I was never comfortable with the wholesale disabling of it either.
    The amazing thing is that my current installation of Vista was installed from a disc with SP1 slipstreamed in, suggesting that this ‘bug’ seems to have slipped by M$.

  51. The Admin says

    May 2, 2008 at 4:21 pm

    @D-Man I just installed an additional Vista system here with SP1 slipped as you did, I had the same problem again. I really like the solution of simply adding an additional ‘:’ in the hosts file, very elegant for sure.

  52. The Admin says

    May 2, 2008 at 4:21 pm

    @D-Man I just installed an additional Vista system here with SP1 slipped as you did, I had the same problem again. I really like the solution of simply adding an additional ‘:’ in the hosts file, very elegant for sure.

  53. steve says

    May 5, 2008 at 5:28 pm

    thanks a lot you solved my problem

  54. steve says

    May 5, 2008 at 5:28 pm

    thanks a lot you solved my problem

  55. wael says

    May 31, 2008 at 6:36 am

    :::1 instead of ::1

    works for me for internet explorer

    🙂

  56. wael says

    May 31, 2008 at 6:36 am

    :::1 instead of ::1
    works for me for internet explorer
    🙂

  57. Michael Paul says

    July 7, 2008 at 2:58 am

    Thank you so much! Worked for me, too. To make things perfectly clear, you want to go to C:WINDOWSsystem32driversetc and edit the "hosts" file with Notepad. In my case (running Windows XP Media Center Edition), I commented it out by using a pound sign.
    I replaced
    127.0.0.1 localhost
    with
    #127.0.0.1 localhost

  58. Michael Paul says

    July 7, 2008 at 2:58 am

    Thank you so much! Worked for me, too. To make things perfectly clear, you want to go to C:\WINDOWS\system32\drivers\etc and edit the "hosts" file with Notepad. In my case (running Windows XP Media Center Edition), I commented it out by using a pound sign.

    I replaced

    127.0.0.1 localhost

    with

    #127.0.0.1 localhost

  59. Zaibot says

    July 22, 2008 at 11:44 pm

    I found another little work around that MUCH more usefull.
    Download Fiddler and set it up as proxy.
    Turn off that Firefox doesn?t use the proxy for localhost and 127.0.0.1 ofcourse. And if you have trouble reaching the server, setup a custom startpage that?s pointing to 127.0.0.1 instead of localhost. 🙂
    This way you can monitor your traffic with the development server and it also gets rid of the problem that it?s slow. 😉
    Greetz

  60. Zaibot says

    July 22, 2008 at 11:44 pm

    I found another little work around that MUCH more usefull.

    Download Fiddler and set it up as proxy.

    Turn off that Firefox doesn?t use the proxy for localhost and 127.0.0.1 ofcourse. And if you have trouble reaching the server, setup a custom startpage that?s pointing to 127.0.0.1 instead of localhost. 🙂

    This way you can monitor your traffic with the development server and it also gets rid of the problem that it?s slow. 😉

    Greetz

  61. Andrew says

    August 11, 2008 at 8:11 pm

    for me, I found that the port that the ASP.net dev server was starting on was different to the one that the browser was trying to connect to.
    make sure you check the settings of your dev server (right click the satellite icon -> properties) and check that the port # is the same as the one that gets appended to your url

  62. Andrew says

    August 11, 2008 at 8:11 pm

    for me, I found that the port that the ASP.net dev server was starting on was different to the one that the browser was trying to connect to.

    make sure you check the settings of your dev server (right click the satellite icon -> properties) and check that the port # is the same as the one that gets appended to your url

  63. Problemas con Visual Studio 20 says

    August 15, 2008 at 4:50 pm

    RE: ASP.NET Development Server Problems Under Vista

    Hola amigos, pues resulta que probando una aplicación Web en el Visual Studio 2008 no me cargaba, en

  64. Problemas con Visual Studio 2008 en Windows Vista says

    August 15, 2008 at 4:50 pm

    RE: ASP.NET Development Server Problems Under Vista

    Hola amigos, pues resulta que probando una aplicación Web en el Visual Studio 2008 no me cargaba, en

  65. Zalmoxis says

    August 27, 2008 at 7:12 am

    Andrew, for me this is the exact situation. And I guess there is a bug in VS 2008 because it is trying to start on one port and sees that it is unavailable and then start the instance of the webserver on another port.

  66. Zalmoxis says

    August 27, 2008 at 7:12 am

    Andrew, for me this is the exact situation. And I guess there is a bug in VS 2008 because it is trying to start on one port and sees that it is unavailable and then start the instance of the webserver on another port.

  67. Chan says

    August 27, 2008 at 8:11 am

    Thank you so much guy!
    :oD

  68. Chan says

    August 27, 2008 at 8:11 am

    Thank you so much guy!

    :oD

  69. Fer says

    August 29, 2008 at 2:41 pm

    Thanks guy you really saved my life

  70. Fer says

    August 29, 2008 at 2:41 pm

    Thanks guy you really saved my life

  71. Matt says

    September 18, 2008 at 3:36 pm

    You can disable IPV6 against localhost by editing the host file:
    C:WindowsSystem32driversetchosts
    ::1 localhost
    Add a # in front of this line to make it a comment. Restart your PC. Good to go.

  72. Matt says

    September 18, 2008 at 3:36 pm

    You can disable IPV6 against localhost by editing the host file:

    C:\Windows\System32\drivers\etc\hosts

    ::1 localhost

    Add a # in front of this line to make it a comment. Restart your PC. Good to go.

  73. cvg says

    September 18, 2008 at 5:05 pm

    Thank you so much guy!
    localhost <> 127.0.0.1 🙂

  74. cvg says

    September 18, 2008 at 5:05 pm

    Thank you so much guy!

    localhost <> 127.0.0.1 🙂

  75. PerW says

    September 25, 2008 at 3:34 pm

    :::1 instead of ::1
    works for me and for internet explorer
    🙂
    Thanks a lot!

  76. PerW says

    September 25, 2008 at 3:34 pm

    :::1 instead of ::1

    works for me and for internet explorer

    🙂

    Thanks a lot!

  77. Donal says

    September 28, 2008 at 10:25 am

    rob,
    Thanks Very Much for solving my problem
    Donal O Sullivan

  78. Donal says

    September 28, 2008 at 10:25 am

    rob,

    Thanks Very Much for solving my problem

    Donal O Sullivan

  79. David says

    October 14, 2008 at 4:15 pm

    I have the similar issue and after testing these solutions I still had the problem. When I configured IIS I had named the Binding for port 80 (default web site) with the fully qualified name for the machine (machine.company.com). I solved the issue by adding a second binding rule to port 80 with host name of localhost.

  80. David says

    October 14, 2008 at 4:15 pm

    I have the similar issue and after testing these solutions I still had the problem. When I configured IIS I had named the Binding for port 80 (default web site) with the fully qualified name for the machine (machine.company.com). I solved the issue by adding a second binding rule to port 80 with host name of localhost.

  81. J says

    October 15, 2008 at 1:49 am

    Excelente solución la de agregar : , agradezco mucho su ayuda!

  82. J says

    October 15, 2008 at 1:49 am

    Excelente solución la de agregar : , agradezco mucho su ayuda!

  83. José Pérez says

    November 7, 2008 at 1:41 pm

    Oh thaks guys, that change works for me 😉
    Saludos

  84. José Pérez says

    November 7, 2008 at 1:41 pm

    Oh thaks guys, that change works for me 😉

    Saludos

  85. Patrik says

    November 27, 2008 at 2:48 pm

    Thanks for this … strange that this has not been corrected by MS

  86. Patrik says

    November 27, 2008 at 2:48 pm

    Thanks for this … strange that this has not been corrected by MS

  87. Cidesoft.Blogs() » Blog A says

    December 5, 2008 at 11:12 pm

    RE: ASP.NET Development Server Problems Under Vista

    Pingback from Cidesoft.Blogs() » Blog Archive » Problema con ASP.NET Web Development Server en Vista (Home Premium)

  88. Cidesoft.Blogs() » Blog Archive » Problema con ASP.NET Web Development Server en Vista (Home Premium) says

    December 5, 2008 at 11:12 pm

    RE: ASP.NET Development Server Problems Under Vista

    Pingback from Cidesoft.Blogs() » Blog Archive » Problema con ASP.NET Web Development Server en Vista (Home Premium)

  89. mehrdadsml says

    January 8, 2009 at 8:00 am

    Tnx a lot… My problem solved by this issue

  90. mehrdadsml says

    January 8, 2009 at 8:00 am

    Tnx a lot… My problem solved by this issue

  91. ganni says

    February 13, 2009 at 12:30 am

    hi! that was very helpful. thanks

  92. ganni says

    February 13, 2009 at 12:30 am

    hi! that was very helpful. thanks

  93. luxmi thakur says

    March 2, 2009 at 12:54 pm

    HIII thanks alot its really working……………………..

  94. luxmi thakur says

    March 2, 2009 at 12:54 pm

    HIII thanks alot its really working……………………..

  95. Ali Bolourian says

    March 9, 2009 at 1:02 pm

    I never had this problem on VS2008 and Vista until I tried to use II7 instead of Visual studio web server and I followed instruction on VS2008 and enabled "IIS metabase and IIS 6 configuration compatibility" option under Windows Features and another option that I don’t remember now. The next day I started to have this problem. Of course I fixed it by disabling the line mentioned by michal, but I thought it’s worthwhile to mention what might be causing this issue.

  96. Ali Bolourian says

    March 9, 2009 at 1:02 pm

    I never had this problem on VS2008 and Vista until I tried to use II7 instead of Visual studio web server and I followed instruction on VS2008 and enabled "IIS metabase and IIS 6 configuration compatibility" option under Windows Features and another option that I don’t remember now. The next day I started to have this problem. Of course I fixed it by disabling the line mentioned by michal, but I thought it’s worthwhile to mention what might be causing this issue.

  97. Michael5 says

    March 9, 2009 at 4:08 pm

    Reading all of the comments is interesting. I just "upgraded" from XP Pro to Vista Home Premium and I like it. My problem with IIS 7 seems to be the opposite. I can grab my web services via "LocalHost:<port> but not via my external static IP. Any thoughts?

  98. Michael5 says

    March 9, 2009 at 4:08 pm

    Reading all of the comments is interesting. I just "upgraded" from XP Pro to Vista Home Premium and I like it. My problem with IIS 7 seems to be the opposite. I can grab my web services via "LocalHost:<port> but not via my external static IP. Any thoughts?

  99. Visual Studio 2008 Internal We says

    March 10, 2009 at 12:41 pm

    RE: ASP.NET Development Server Problems Under Vista

    Pingback from Visual Studio 2008 Internal Web Server stopped working in Vista « Information for Technology

  100. Visual Studio 2008 Internal Web Server stopped working in Vista « Information for Technology says

    March 10, 2009 at 12:41 pm

    RE: ASP.NET Development Server Problems Under Vista

    Pingback from Visual Studio 2008 Internal Web Server stopped working in Vista « Information for Technology

  101. Imran Aziz says

    March 10, 2009 at 12:44 pm

    Thanks for this post, it helped me sort out this strange issue, for me changing the hosts file localhost entry sorted out the issue. Thanks to all who commented and updated this issue. I have linked this post from my post here info4tech.wordpress.com/…/visual-studio-2

  102. Imran Aziz says

    March 10, 2009 at 12:44 pm

    Thanks for this post, it helped me sort out this strange issue, for me changing the hosts file localhost entry sorted out the issue. Thanks to all who commented and updated this issue. I have linked this post from my post here info4tech.wordpress.com/…/visual-studio-2

  103. Rob Bazinet says

    March 10, 2009 at 9:43 pm

    Thanks everyone who commented here who found the guidance help them. It’s always great to know I helped others.

  104. Rob Bazinet says

    March 10, 2009 at 9:43 pm

    Thanks everyone who commented here who found the guidance help them. It’s always great to know I helped others.

  105. Tim Keen says

    March 12, 2009 at 11:12 am

    I changed my hosts file to be;
    ::1 localhost
    127.0.0.1 localhost
    Works fine now!

  106. Tim Keen says

    March 12, 2009 at 11:12 am

    I changed my hosts file to be;

    ::1 localhost

    127.0.0.1 localhost

    Works fine now!

  107. Metodi Macedonia says

    March 15, 2009 at 9:14 am

    Thank You so much,
    Very good explonation

  108. Metodi Macedonia says

    March 15, 2009 at 9:14 am

    Thank You so much,

    Very good explonation

  109. Sung Hak says

    March 20, 2009 at 4:39 am

    Oh~~ I had same problem
    But this post comment solved my problem
    Thanks for everyone

  110. Sung Hak says

    March 20, 2009 at 4:39 am

    Oh~~ I had same problem

    But this post comment solved my problem

    Thanks for everyone

  111. eric says

    March 24, 2009 at 2:12 am

    very good,it works! amazing

  112. eric says

    March 24, 2009 at 2:12 am

    very good,it works! amazing

  113. ASP.NET Development Server Pro says

    April 8, 2009 at 10:17 pm

    RE: ASP.NET Development Server Problems Under Vista

    Pingback from ASP.NET Development Server Problems Run Under Vista « Developer.Net Blog

  114. ASP.NET Development Server Problems Run Under Vista « Developer.Net Blog says

    April 8, 2009 at 10:17 pm

    RE: ASP.NET Development Server Problems Under Vista

    Pingback from ASP.NET Development Server Problems Run Under Vista « Developer.Net Blog

  115. johnny says

    April 13, 2009 at 3:14 pm

    I hope this helps someone. I had to update my hosts file and in addition i had the web site http://localhost to my local intranet sites in internet options,security,advanced,

  116. johnny says

    April 13, 2009 at 3:14 pm

    I hope this helps someone. I had to update my hosts file and in addition i had the web site http://localhost to my local intranet sites in internet options,security,advanced,

  117. fariz says

    May 3, 2009 at 3:02 am

    Hello, according to the changes that need to be done to the host file, I’ve tried it and when I want to save, it said that the file can’t be changed. Please help.

  118. fariz says

    May 3, 2009 at 3:02 am

    Hello, according to the changes that need to be done to the host file, I’ve tried it and when I want to save, it said that the file can’t be changed. Please help.

  119. Guy says

    May 4, 2009 at 1:39 pm

    This helped me a lot in developing something for work. Had some issues with Vista.

  120. Guy says

    May 4, 2009 at 1:39 pm

    This helped me a lot in developing something for work. Had some issues with Vista.

  121. Guy says

    May 4, 2009 at 1:40 pm

    This helped a ton in a problem I was having setting up the server.

  122. Guy says

    May 4, 2009 at 1:40 pm

    This helped a ton in a problem I was having setting up the server.

  123. Ozan says

    May 8, 2009 at 1:59 pm

    Wow ! I reformatted my PC couple of times before it hit me that this may be a weird problem from Microsoft and started searching. Thanks a lot !

  124. Ozan says

    May 8, 2009 at 1:59 pm

    Wow ! I reformatted my PC couple of times before it hit me that this may be a weird problem from Microsoft and started searching. Thanks a lot !

  125. Ahmed Abu Dagga says

    May 21, 2009 at 6:21 am

    Thank you so much, I was stuch for a long time in this issue now I know the reason 🙂
    I just change the IP from ::1 to 127.0.0.1 in the host file in etc folder, and now It works fine

  126. Ahmed Abu Dagga says

    May 21, 2009 at 6:21 am

    Thank you so much, I was stuch for a long time in this issue now I know the reason 🙂

    I just change the IP from ::1 to 127.0.0.1 in the host file in etc folder, and now It works fine

  127. Adrian says

    May 23, 2009 at 9:26 pm

    Thank you. Great post in fact brilliant post because i could not get any help from microsoft

  128. Adrian says

    May 23, 2009 at 9:26 pm

    Thank you. Great post in fact brilliant post because i could not get any help from microsoft

  129. Geo says

    May 26, 2009 at 6:33 pm

    Thanks!!!
    @fariz: run notepad as admin, and then open the hosts file from notepad.

  130. Geo says

    May 26, 2009 at 6:33 pm

    Thanks!!!

    @fariz: run notepad as admin, and then open the hosts file from notepad.

  131. the best gambling news online says

    May 28, 2009 at 3:35 am

    Funny thing is though, that the new : makes Vista go completely bogus and ignore the entry.Putting a # in front of it would be better. :)Anyway, what does the ::1 stand for? It’s probably IPv6 something, but what does it mean? What does it actually do?

  132. the best gambling news online says

    May 28, 2009 at 3:35 am

    Funny thing is though, that the new : makes Vista go completely bogus and ignore the entry.Putting a # in front of it would be better. :)Anyway, what does the ::1 stand for? It’s probably IPv6 something, but what does it mean? What does it actually do?

  133. tukang nggame says

    June 5, 2009 at 3:19 pm

    very useful post, This article helped a ton in a problem.
    thanks a lot

  134. tukang nggame says

    June 5, 2009 at 3:19 pm

    very useful post, This article helped a ton in a problem.

    thanks a lot

  135. sucam says

    July 24, 2009 at 4:05 am

    hi,
    i am using vs 2005, my site has a lot of pages and images on the page starts with the prefix "/" that indicate root. it work fine when i deploy site on production , but it did not work in asp.net development server.
    locahost/…/pages.aspx image: "/images/logo.gif"
    so when it detect "/" it search outside the mysite directory which is the main directory of my site. how can i point to mysite.

  136. sucam says

    July 24, 2009 at 4:05 am

    hi,

    i am using vs 2005, my site has a lot of pages and images on the page starts with the prefix "/" that indicate root. it work fine when i deploy site on production , but it did not work in asp.net development server.

    locahost/…/pages.aspx image: "/images/logo.gif"

    so when it detect "/" it search outside the mysite directory which is the main directory of my site. how can i point to mysite.

  137. henry says

    July 24, 2009 at 5:27 pm

    ASP.NET’s problem Development Server also can happen put a restriction of protocol in your antivirus, for ejemlo in NOD32 it is necessary to enable the filters of HTTP protocol and POP3 in order that it(he,she) could execute developmen server.

  138. henry says

    July 24, 2009 at 5:27 pm

    ASP.NET’s problem Development Server also can happen put a restriction of protocol in your antivirus, for ejemlo in NOD32 it is necessary to enable the filters of HTTP protocol and POP3 in order that it(he,she) could execute developmen server.

  139. Bob Dickow says

    August 10, 2009 at 7:08 pm

    This is really off topic, but I thought I’d chime in. I have installed a single web site on my IIS 7 on Vista, and it only serves a phantom page (that reads "It Works!"). This text is nowhere in my web site, and worse yet, is nowhere on my computer (calling http://localhost). Furthermore, specifying the index page brings up HTTP Error 404. Searching my computer’s file contents for ‘It Works!" brings up no matches. So, I’m stymied. I do better with IIS 5 on XP. I can’t make Vista work with IIS at all I guess. Of course, that file HAS to be here somewhere, but I can’t locate it, or any directories that might be acting as the virtual web on my machine. Search is not working right or something. Odd. But I haven’t given up yet, even after 2 days of hacking this.

  140. Bob Dickow says

    August 10, 2009 at 7:08 pm

    This is really off topic, but I thought I’d chime in. I have installed a single web site on my IIS 7 on Vista, and it only serves a phantom page (that reads "It Works!"). This text is nowhere in my web site, and worse yet, is nowhere on my computer (calling http://localhost). Furthermore, specifying the index page brings up HTTP Error 404. Searching my computer’s file contents for ‘It Works!" brings up no matches. So, I’m stymied. I do better with IIS 5 on XP. I can’t make Vista work with IIS at all I guess. Of course, that file HAS to be here somewhere, but I can’t locate it, or any directories that might be acting as the virtual web on my machine. Search is not working right or something. Odd. But I haven’t given up yet, even after 2 days of hacking this.

  141. Langsom PC? G??r din computer says

    August 24, 2009 at 8:02 am

    RE: ASP.NET Development Server Problems Under Vista

    Pingback from Langsom PC? G??r din computer hurtigere uden besv??r

  142. Langsom PC? G??r din computer hurtigere uden besv??r says

    August 24, 2009 at 8:02 am

    RE: ASP.NET Development Server Problems Under Vista

    Pingback from Langsom PC? G??r din computer hurtigere uden besv??r

  143. Jeff Mesens says

    September 3, 2009 at 5:06 am

    Thanks mate it solved my problem!

  144. Jeff Mesens says

    September 3, 2009 at 5:06 am

    Thanks mate it solved my problem!

  145. cheap nfl jerseys says

    September 7, 2009 at 9:00 pm

    Thanks for sharing these information~~~~~~~~~~~~~~

  146. cheap nfl jerseys says

    September 7, 2009 at 9:00 pm

    Thanks for sharing these information~~~~~~~~~~~~~~

  147. Toyin says

    September 7, 2009 at 11:15 pm

    Thanks guys. Very useful information. However, the security settings on my windows vista would not allow me to change the host file. Please how can I beat this.
    Thanks
    Toyin

  148. Toyin says

    September 7, 2009 at 11:15 pm

    Thanks guys. Very useful information. However, the security settings on my windows vista would not allow me to change the host file. Please how can I beat this.

    Thanks

    Toyin

  149. pendidikan riau says

    September 13, 2009 at 4:07 pm

    i am study asp.net now… thanks for article..

  150. pendidikan riau says

    September 13, 2009 at 4:07 pm

    i am study asp.net now… thanks for article..

Recent Posts

  • How to Fix Rails Flash Rendering When Using Hotwire
  • Hotwire Fix for CORS Error when using Omniauth
  • Fix Installation of Ruby using rbenv on macOS Big Sur
  • RailsConf 2021 and the Future of Conferences
  • Fixing Out of Diskspace Errors on Amazon EC2

Categories

Services I Love

HatchBox - Easy Rails Deploys Fathom Analytics
Follow @rbazinet

Rob Bazinet
@rbazinet

  • Exactly this…. https://t.co/yWj7fZ01HR
    about 17 hours ago
  • https://t.co/EmagdpLoNv "Introducing GitHub Copilot X · GitHub"
    about 1 day ago
  • RIP Gordon Moore: https://t.co/c5J9LaHrj8
    about 1 day ago
  • Our daughter works as a teaching assistant at a local K-8 public school. It’s become apparent that students today r… https://t.co/p2t912GVyc
    about 2 days ago
  • Working to wrap up my current consulting gig by mid-April. I will be looking for the next thing soon. If anyone has… https://t.co/sg3cSV9yqM
    about 3 days ago
  • RSS - Posts
  • RSS - Comments
Find me on Mastodon