Visual Studio: The application cannot start

Today I started my Visual Studio 2010 instance by using the "Run as administrator" option (as I often do when using the local IIS server for hosting my webapp). Instead of the VS window I got a nice error message dialog saying
"The application cannot start"
The same with VS2008. When starting them normally, everything worked just fine, but as soon as I tried to run them with admin rights they both failed. They only thing I did today morning was to to install the Microsoft SQL Server Management Studio Express edition which however (for some unknown reason) failed during install and performed a rollback. I have the strange sensation this rollback did "roll back" a bit too much things...
I don't know if you remember, but VS2010 beta had a similar issue as I described here in this post. The solution there was to execute a devenv /resetuserdata operation which is not really the thing you want. Anyway, I tried it (backing up my settings first obviously)...no change. Still the error popped up.

In 2009 a post on the Visual Studio blog described this same issue that was present in the beta 2 version suggesting the reset of the user data. The solution to fix the problem however was a comment given by √ėyvind Gellein. Adapting it to my x64 system, one has to execute the following:
C:\Program Files (x86)\Common Files\microsoft shared\MSEnv> regsvr32 DTE100.OLB
C:\Program Files (x86)\Common Files\microsoft shared\MSEnv> regsvr32 DTE80.OLB
C:\Program Files (x86)\Common Files\microsoft shared\MSEnv> regsvr32 DTE80a.OLB
C:\Program Files (x86)\Common Files\microsoft shared\MSEnv> regsvr32 DTE90a.OLB
C:\Program Files (x86)\Common Files\microsoft shared\MSEnv> regsvr32 DTE90.OLB
Kindle

Comments

0

Your ad here?