Problem
When hitting Ctrl-F5 in Visual Studio 2005/2008 to run a web application in Vista, the Development Server gets started, Internet Explorer opened but nothing happens, although the web application is set to run with Development Server, ASP, ISS and everything required is installed.
Solution
Go to c:\Windows\System32\drivers\etc\ and open the file named hosts with a text editor
Search for the line containing "::1" mapped to "localhost"
Change "::1" to ":::1" by adding an extra ":"
Save the file and everything should be running fine
11 comments:
Thank you guy! ;) Works perfectly for me.
I opened it in notepad and did change the ::1 to :::1 but file is not being saved. It says check path which is right. Please help! Thanks
- Do you have administrative rights?
- Did you tried to open with a different text editor
- Did you try to copy the file elsewhere, edit it and copy it back?
Beside these I have no other suggestions
Thanks, it helped me out...
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?
You are a legend !!!
Muchas gracias :D !!!!
WOW!!!!!!!!! Dtz really cool
Thanks! it reealy works.
What happend and why does this solution work??
On C:\Windows\System32\drivers\etc\hostsfile, I had to comment the line
#:::1 localhost
and make sure you have this line:
127.0.0.1 localhost
It works great!! You saved me man!!
Thanks a lot!!
Hi,
Thanks a lot for this great help. It took me a lot of time to get it working. Thanks again!
Post a Comment