Visual Studio 2010 Professional Fails To Run As Administrator
While trying to update some reports from SSRS 2005 to SSRS 2008 I ran into an odd error. If I attempted to run the report using the Cassini web server I received the message "Failed To Map Path '/'". Searching the interwebs brought me to the solution of running Visual Studio as Administrator(I am running Windows 7 64 bit). So I fired up VS as administrator and wham I get "The Application Cannot start". Back to the interwebs. There seem to be several things that can cause this to happen. I ran the user settings reset "devenv /resetusersettings" with no luck. I registered several dll's that had been suggested from one site. Finally I stumbled onto the solution from here. I ended up on Sara Fords blog which talked about using the visual studio activity log. This narrowed down the trouble to "LoadDTETypeLib". Back to the interwebs(I am starting to see a pattern here!). The interwebs finally pay out and I land here. A few minutes later I am running VS as admin.
The solution was copying all the "dte" ".olb" files from C:\Program Files (x86)\Common Files\microsoft shared\MSEnv\ to C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE.
Thanks go out to Sara Ford, John Ruth and Weston Hutchins.