System.Runtime.Interop.COMException when opening a web project in Visual Studio 2008

by bhavikv 22. October 2009 05:14

It was a funny error when I saw it yesterday morning. I dint have time to fix it and left it. The same solution was working in my other machine (Win7) and i was suspecting if it has something to do with the Visual Studio installation or that I was trying to access it from my new OS - Win Server 2008.

Well after a simple search on Bing - lo the resolution is quite simple - Just Run the Visual Studio 2008 as an Administrator :). The reason for this error is that VS2008 is not able to access the IIS metabase when UAC is turned on. I havent installed the Service Pack 1 for VS2008 which seems to give a nice little explaination for the error :D.

Hope this info helps. Thanks,
Bhavik.

Comments are closed