Answered by:

Visual Studio 2012 Pro Crashes at Startup

Question

I just installed Visual Studio 2012 pro and it crashes after start up. About 10 seconds after it reaches the main page, it crashes without giving an error, it just states that it can not continue. I previously had VS2012 RC installed which
worked fine and I uninstalled before loading. I am running on Windows 7 Pro.

I also had Vs2010 which worked fine and express. I have uninstalled all MS developer tools, this is a realatively clean and unused machine.

Answers

I figured out the problem. I tried everything you suggested above and had nothing, including the Event Viewer. I didn't have time to keep working with it, so I decided to just reformat the whole thing and use a clean install. I was
able to do this because the computer had been a realativly clean install to start with so it was not as drastic a step as it sounds.

VS2012 installed and ran perfectly with the new install until I loaded our old source control Source Gear Valault 3.1.8 then VS2012 started crashing in the exact same way.

VS2010 and VS2012 RC are compatible with Source Gear Vault 3.18 but the release version VS2012 is not. VS2010 even used it without problem.

This error 80070002 means access is denied. It seems you can use VS2010 and VS2012 RC without any error so I think you do have Admin privilege now. Please try the following steps here, I wonder to know the results:

1. Boot your OS to safemode. Paste your result whether you can open VS.

2. On "Control panel" " Administrative Tools" there is a tool called "Event Viewer". Try to find if there are any error info about Visual Studio.

3. I know you may know this but please try disable AV software when running Visual Studio.

I figured out the problem. I tried everything you suggested above and had nothing, including the Event Viewer. I didn't have time to keep working with it, so I decided to just reformat the whole thing and use a clean install. I was
able to do this because the computer had been a realativly clean install to start with so it was not as drastic a step as it sounds.

VS2012 installed and ran perfectly with the new install until I loaded our old source control Source Gear Valault 3.1.8 then VS2012 started crashing in the exact same way.

VS2010 and VS2012 RC are compatible with Source Gear Vault 3.18 but the release version VS2012 is not. VS2010 even used it without problem.

Thanks for this post. That was the exact same problem I had. I would had have never figured it out without seeing this post. I had SourceGear Vault Client 3.1.5 on my computer. VS2010 and 2008 worked fine. After installing VS2012
Pro, it would just crash after a few seconds on the startup screen. I tried running as administrator. I checked the SHA1 hash so the download wasn't corrupted. Tried doing both an install from .iso and well as using the web
installer.

Then I read your post and so I uninstalled SourceGear. Didn't reboot. I started up VS2012 and magically it stopped crashing.

The crazy thing is the release candidate worked. It's like they delibrately made the production version crash with source gear so we'd use team foundation. We've decided to go with subversion and AnkhSVN plugin for now.