Geeks With Blogs
Patrice Calve Life's short, have fun
This weekend, I had this bright idea to install Virtual Server 2005 R2 on my Vista dev box at home to test a theory.

Well, it seems to break Visual Studio's WebServer.  When trying to run or debug an ASP.Net application, I was hit by a "WebDev.WebServer.exe has stopped working".

I tried many things, as you can imagine, but a few were:
- Reboot
- Un-installed Virtual Server 2005
- Un-installed/re-installed the Web Development Feature from the VS installation.
- Re-ran the various combinations of aspnet_regiis.exe

There was an entry in the Event Log's Application Logs:

Fault bucket 118476878, type 5
Event Name: CLR20r3
Response: None
Cab Id: 0

Problem signature:
P1: webdev.webserver.exe
P2: 9.0.0.0
P3: 4731664b
P4: System
P5: 2.0.0.0
P6: 471ebf0d
P7: 2c04
P8: 40
P9: System.Net.Sockets.Socket
P10:


System.Net.Sockets.Socket...   

I tried running webdev.webserver.exe manually from the command line:
C:\Program Files\Common Files\microsoft shared\DevServer\9.0
C:\Windows\Microsoft.NET\Framework\v2.0.50727

both worked (I tried port 8080 and 8888) (see note at the end)

Anyway, what seems to have fixed the problem was the following:

Disable IPv6 from your network adapters

Control Panel -> Network Connections -> for each adapter/connection: disable the TCP/IPv6

notes:
- When running the webDev exe manually, I didn't (and should have) try to run it with the same port that VS was trying with.
- I didn't try disabling IPv6 one connection at a time.  Maybe 1 did the trick, not sure.

Ho yes, one weird thing: the web based admin configuration page worked when the Web page launched by VS didn't

Anyway, I'm fixed for now and need to move on.

If this article helps you, woohoo...

If it doesn't, you'll find an answer in google ;)

Pat Posted on Wednesday, February 20, 2008 8:49 PM | Back to top


Comments on this post: Virtual Server 2005 breaks Visual Studio 2008 WebServer on Vista

# re: Virtual Server 2005 breaks Visual Studio 2008 WebServer on Vista
Requesting Gravatar...
Crap....

I spoke to quickly...

it must have been something else because it stopped working again tonight. ho fun!

Sorry, wrong trail :(
Left by Pat on Feb 21, 2008 7:47 PM

# re: Virtual Server 2005 breaks Visual Studio 2008 WebServer on Vista
Requesting Gravatar...
Have you come up with anything on this problem yet? I have reproduced it on a copy of Server 2008 running virtualized with VS2008 Standard and Professional. The webserver stops working 60% of the time. Other times I will get compile-time errors about protected memory being accessed. It will work for a few builds and then not work for quite a few (even after rebooting), then all of a sudden work again. Furthermore - Server Explorer is non-existant whether I try to create a Dataset, make a new connection, or simply view the Server Explorer panel nothing happens. Everything else works beautifully. I used the same CD and installed VS2008 Standard on Vista Business (not virtualized) with no issues. Ironically, I've been using Visual Web Developer Express' Database Explorer to create Datasets and Datacontexts and then reopening the solution in VS2008. I'll let you know if I find anything out.
Left by Steve on Mar 19, 2008 9:10 PM

# re: Virtual Server 2005 breaks Visual Studio 2008 WebServer on Vista
Requesting Gravatar...
Hi Steve,

Actually, I stopped working on the problem and re-installed the OS !

Shame on me for not investigating further, but I didn't want to waste time.

Sorry!
Left by Pat on Mar 20, 2008 9:01 PM

# Visual Studio 2008 WebDev has stop Working
Requesting Gravatar...
i have problem with visual studio, when i try to run my project in visual studio 2008 the following massage apear..

Web has stop Working
Left by Kakar on Mar 01, 2009 11:49 PM

Your comment:
 (will show your gravatar)


Copyright © Patrice Calvé | Powered by: GeeksWithBlogs.net