Last post Jul 31, 2009 11:06 AM by dineshjgd
Mar 11, 2009 11:39 PM|nnorman|LINK
Visual Studio 2005
Mar 12, 2009 12:40 AM|Curt_C|LINK
Hit F5 and run the app. That's the only way I ever do it. The Show In Browser has never worked right for compiled pages, expecially complex work.
Mar 12, 2009 12:58 AM|budugu|LINK
All of a sudden the web server part doesn't work
I assume you are getting this problem after installing this week's updates to Vista. some how it messed up VS developer server settings. Same thing happned at my end. Try this ...
Go to c:\Windows\System32\drivers\etc\ and open the file named
hosts with a text editor and search for the line containing "::1" and change "::1" to ":::1"
by adding an extra ":"
It solved the problem on one of my development machine.
Mar 12, 2009 09:11 AM|nnorman|LINK
Thanks so much! Yes, Vista updates did this mess. Your solution worked perfect for me!
Mar 12, 2009 03:35 PM|budugu|LINK
I am glad it helped you!!
I seen same problem reported in several forums. So I made blog post on it.
Mar 14, 2009 07:59 PM|diazmayo|LINK
I am trying to change '::1' to ':::1' and it won't let me. I am the admin and I am currently under admin... Im frustrated at this point
Mar 28, 2009 05:24 AM|komachi|LINK
Are u receiving these error msg:
1. Access to C:\Windows\System32\drivers\etc\ hosts was denied
2. Cannot create the C:\Windows\System32\drivers\etc\hosts file.
Make sure that the path and file name are correct.
If yes, then run notepad as administrator first, then open the hosts file, modify it and save.
Apr 07, 2009 04:01 PM|akanetsamson|LINK
wow thanx, it also worked for me, i was really frustrated. but seriously, why will microsoft decide to do this without any notification? we just downloaded updates and are just getting unknown problems.
wel, thank God its over now.
Apr 14, 2009 07:40 AM|MAT1C|LINK
Same thing happened to me and I solved it by adding an extra ":" in a hosts file. But now the same thing happend again today and I don't konw what to do now. If someone could help me it would be really
Apr 15, 2009 11:52 AM|mmcasp|LINK
I has the same problem in Visual Studio 2008. Edited the hosts file by inserting the extra : and it worked fine then. Appreciate the fix. Thanks!!
Apr 15, 2009 12:21 PM|lahorya|LINK
what about Windows XP? I am using VS 2008. when hit F5 it opens the web browser and starts a Development server but the problem is in the URL of the web browser it does not put the right port number. For example if I hover the mouse over
the Development server in task bar it says port 3738 but the browser shows http://localhost:3736/.... always it shows a difference of two numbers. i am having this problem since last two weeks any idea why its happening. is it a part of the same problem?
Thanks in advance.
Apr 19, 2009 09:30 AM|JuanDiego|LINK
I am getting this error as well. Have VWD 2008 and Vista.
What do you mean running the notepad as administrator? I am the administrator and i'm getting this error. how should i open notepad then?
thanks in advance for your help!!
Apr 19, 2009 11:24 AM|budugu|LINK
I am the administrator and i'm getting this error. how should i open notepad then?
Ps: Make sure you have write permissions on that folder. Right click on that folder and select properties and go "Security" tab.
May 02, 2009 02:54 PM|mcilliers|LINK
Wow. Yes it realy worked. I added the : and my problems are gone. Thank you.
Jul 28, 2009 10:36 AM|dineshjgd|LINK
Hello Budugu.... I modified that file it worked fine....for few days and again having
:::1 in hosts file, same problem occuring again... so is there any solution for this sort of problem... Thanks in advance...
Jul 31, 2009 11:06 AM|dineshjgd|LINK
Hello everyone.... there is another thing related to this problem...
e.g just replace "http://localhost:*****/directory/Default.aspx" with
it gives another problem....
It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
Is there any Solution for this problem...Thanks...