visual studio 2010 - adding/removing a file in VS2010 causes "WebDev.WebServer20.exe has stopped working" error -


This is making us crazy ... in VS-2010, MVC 2 projects, not all projects .... both A project was upgraded from 2008 / MVC 1 and on a new project created within 2010 / MVC2, we have the following behaviors:

1) Develop normally.

2) Hit F5 or CTRL-F5 to open a browser

3) Great Works!

4) Add a CSS file (or JS file or any file, or delete any file) in the project

5) Instant communication pops up "WebDev. WebServer20.exe stopped working "

You have to close the program, and" F5 "is correct again and with the whole world ...

We Then modify an existing css file. no problem. But adding or removing one, an instantaneous accident

It seems that the development webserver project file is "locked on" and when someone detects a change, it dies.

The event viewer is very worthless, the following is logged:

The defective application is WebDev.WebServer20.exe, version 10.0.30319.1, time stamp 0x4ba204ca, faulty module Kernel32.dll, version 6.0. 6001.18215, time stamp 0x49953395, exception code 0xe053534f, mistake offset 0x000442eb, process ID 0x% 9, time of starting the application 0x% 10.

It is happening on Windows 7 with all of our developer workstations, which are included in Windows Sever 2008, some with some Windows XP, and some. All are running VS2010 Premium with ReSharper.

In addition, the same thing is that projects that target 4.0 framework, the same error message for WebDev.WebServer40.exe occurs on referrs instead.

Google has not told anything, we are already setting a "fixed port" instead of dynamic port - no help.

Please help if you can.

So, as it turns out, due to a certain use of the problem MVCTurbine and StructureMap It is likely that the problem is with other IoC containers, not just StructureMap. The author of MVCTurbine has expressed that the fix will be in version 2.2 of that product.

Meanwhile, an additional line of code in your Global.asax will solve this problem:

  // VNEXT: after turbine 2.2 we do not need this line Want to ... Protected Override Zero Shutdown Contains () {CurrentContext = null; ServiceLocator = Faucet; }  

Indicates the case of special use that we were addressing. The use of "normal plain vanilla" MVcturbine and StructureMap will not be this problem.

Obviously, thanks so much for helping Javier to be so sensitive to the request!


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -