Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2015 does not start

We have installed Visual Studio 2015 Professional on Windows 7. It was working fine. But after we installed updates from the menu Tools-->'Extensions and Updates' today the Visual studio does not start anymore. we tried using 'run as administrator' as well. From the Start menu we right click on 'Visual Studio 2015', then 'run as administrator', the usual dialog box asking for permissions appears, we click on 'Yes', splash screen for Visual Studio appears for a second and then disappears. On the Task Manager, it does not appear as well.

Re-starting the system does not help either. .NET 4.6 is installed and Visual Studio 2012 on the same system is working fine.

UPDATE 1 The issue started after we installed the last update (from within VS2015) that had something to do with universal apps I think.

UPDATE 2 At the exact time when I start VS2015, one Windows Event log gets generated under security section as follows:

EventID 6281 Microsoft-Windows-Security-Auditing Audit Failure Message: Code Integrity determined that the page hashes of an image file are not valid. The file could be improperly signed without page hashes or corrupt due to unauthorized modification. The invalid hashes could indicate a potential disk device error. File Name: \Device\HarddiskVolume3\Windows\System32\l3codeca.acm 
like image 405
nam Avatar asked Sep 22 '15 16:09

nam


People also ask

How do I run a repair in Visual Studio?

In the Visual Studio Installer, look for the installation of Visual Studio that you want to repair. Then choose Repair from the More dropdown menu. Repairing Visual Studio will reset its environment. Local customizations, like per-user extensions installed without elevation, user settings, and profiles will be removed.

Is Visual Studio 2015 still supported?

For Visual Studio 2017, customers who remain on the RTW version 15.0. x will continue to be supported until January 2020. For Visual Studio 2015 and Team Foundation Server 2015, RTW is no longer supported.

Where is Visual Studio 2015 installed?

They are all located in the C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE directory.


2 Answers

Here's what worked for me. Go to the Command Prompt and navigate to the folder with devenv.exe

In my case it was C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE

then execute

Devenv.exe /ResetSettings

https://msdn.microsoft.com/en-us/library/ms241273.aspx

like image 35
Bob Avatar answered Sep 20 '22 22:09

Bob


I had the same problem recently after I upgraded one of the packages. I tried "everything" and the only option that worked was the /Setup switch (I was logged in as Administrator, but don't think that's required).

c:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE>devenv.exe /Setup c:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE>devenv.exe 

https://msdn.microsoft.com/en-us/library/ex6a2fad.aspx

like image 159
IKnewThat Avatar answered Sep 21 '22 22:09

IKnewThat