Home » Questions » Computers [ Ask a new question ]

.NET applications stopped working on Vista

.NET applications stopped working on Vista

It all started this morning when I tried to open a C# solution I'm working on for quite some time now. Right after loading the solution I got the error: "vhost.exe has stopped working". Since then I've been trying to figure out what was going on. I started to uninstall things, like resharper and other add-ons, but the problem persisted. The next thing I did was to repair VS2008 but it didn't work either, then I completely removed and reinstalled it but nothing changed. I've even reinstalled the .Net Framework again but to no avail. At this time of the night, and having almost wiped my hard disk from games, applications, services and whatnot, it keeps crashing with the message "xxx has stopped working". The only thing I've found is that only .NET applications (as in managed) seems to be affected by this problem.

Asked by: Guest | Views: 333
Total answers/comments: 2
Guest [Entry]

"This doesn't directly answer your question, but that process vhost.exe is only running because your solution's default project's Debug properties include the ""Enable the Visual Studio hosting process"" option.

Enable the Visual Studio hosting process
Select this check box to enable the Visual Studio hosting process. This option is selected by default.
In order for debugging in a security zone to work, this option, as well as Debug this application with the selected permission set, available from the Advanced Security Settings Dialog Box, must be enabled.

This is not a common requirement (although, maybe it should be). Thus, if you uncheck that option from the projects in your solution vhost.exe will not be built and run by Visual Studio on your behalf."
Guest [Entry]

"See Uninstalling .NET Framework 3.5 SP1, as to how to totally uninstall and reinstall
.NET Framework 3.5 SP1."