Opening VS2010 gives ‘The Application Cannot Start’ Dialog
So I’ve been using VS2010 beta 2 for the past couple of weeks and this morning i go to start it up and i get this “Application cannot start” BS
No matter how many times I try its the same thing over and over again. Dang. What do i do? Google. Then I’m reading about how these other guys have the same problem and they have tried uninstalling and reinstalling and the problem does not go away. Dang. Rebuild my box? MY WORK BOX? This is a good way to start out the day. Uhhh. I don’t think so. So i do some investigating because I actually had visual studio freeze the night before and I think i just killed the process and was done for the night. So more then likely something was corrupted. Something that doesn’t get uninstalled if you to to reinstall (based on the fact that reinstall doesn’t work according to the other people). Well, I stumbled across this and also the solution. It appears there are a few ways to get into this state this seems like the most likely for me.
The second way to get in this state is by a corrupted window profile – the file that persists your IDE window state. If you have floating tool windows (e.g., drag off Solution Explorer to another monitor or show the Find dialog), minimize Visual Studio, and then close Visual Studio from the minimized state, on the next launch you will hit this error.
The Workaround
- Start Menu->Run (or Windows Key + R for the keyboard savvy)
- Type “devenv /resetuserdata”. The issue should now be fixed.
- If you wish to reimport your old settings, go to Tools->Import and Export Settings, select “Import selected environment settings and browse to the .vssettings file you saved.