Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2012 is unresponsive at start with hidden error messages (two dings at start)

Tags:

After latest update of Azure tools, Visual Studio 2012 does not work correctly. Looks like an unresponsive application, loading project very long, menu does not work too and you can hear two dings at start (like error message boxes, but there is no visible messages). In the some cases you can see the real message about "The HDIProjectPackage did not load correctly". At the same time Visual Studio 2013 is not affected. You can launch Visual Studio 2012 in the safe mode: C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE>devenv.exe /SafeMode and it will work well. While launching Visual Studio 2012 with logging C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE>devenv.exe /Log, you can find in the log C:\Users\User\AppData\Roaming\Microsoft\VisualStudio\11.0\ActivityLog.xml these error messages:

ERROR SetSite failed for package [HDIProjectPackage] ERROR End package load [HDIProjectPackage] 
like image 731
crea7or Avatar asked Nov 20 '14 23:11

crea7or


2 Answers

The problem caused by Microsoft Azure HDInsight Tools for Visual Studio which is new release and possible not compatible with Visual Studio 2012, however installs into the Visual Studio 2012 and causing problems at start.

To fix this problem, uninstall Microsoft Azure HDInsight Tools for Visual Studio from the system.

(Just spent three days to fix it)

like image 102
crea7or Avatar answered Sep 19 '22 20:09

crea7or


I'm running VS 2010, 2012 and 2013 on the same box.

I had the exactly same error when I run VS 2012 on my machine after I installed the new release of Microsoft Azure SDK for .NET (VS 2013) - 2.5.

However, once I installed Microsoft Azure SDK for .NET (VS 2012) - 2.5 again, the error has disappeared.

Hence, instead of uninstalling Microsoft Azure HDInsight Tools for Visual Studio, just install Microsoft Azure SDK for .NET 2.5 for both VS2012 and VS2013. That should work.

like image 34
justinyoo Avatar answered Sep 19 '22 20:09

justinyoo