OS: Windows Vista Ultimate

VS2005 (c# project) with SP1 for Vista instaled

Running Visual Studio as administrator

When I open VS2005 and load my project, I can debug the project usually one time (sometimes not even once) before I get a "Cose Program" stop message and VS shuts down when I try to run the application.

Most of time the first run and debug session works fine. no issues and everything works as expected. The second run it throws errors and shuts down almost every time.

Occasionally, I get the error running the first time, and sometimes after my splash screen is up and the application appears to starting up fine.

I can restart VS and run one session before it happens again. I have searched all over the forums looking for something that may apply. I believe SP1 applied fine, I am running as administrator and before I start the debugging process, VS runs fine.

Any help here would be great! I am kind of frustrated having to restart VS every other time I want to debug the application.

In the event log I get the following messages:

Message 2 in sequence

.NET Runtime version 2.0.50727.312 - Fatal Execution Engine Error (7A2B852A) (0)

Message 1 in sequnence

Faulting application devenv.exe, version 8.0.50727.867, time stamp 0x45d2c842, faulting module ntdll.dll, version 6.0.6000.16386, time stamp 0x4549bdc9, exception code 0xc0000374, fault offset 0x000af1c9, process id 0x1598, application start time 0x01c78f3277cc50fb.

Re: Visual C# General VS2005 devenv.exe Error


I did apply the Vista Patch after SP1 for VS2005 BTW...

It appeared to apply without an issue

Re: Visual C# General VS2005 devenv.exe Error


Did you have some addins installed, like code assistents, third party controls, ... . Also does this occurs only when you work on your solution, or that happens when you work on simple HelloWorld project also. I already have some thread about fatal error in VS when working on Vista.
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1168533&SiteID=1
I'm forced to work on XP when i work in one part of my solution.