Visual Studio 2008 System Runtime InteropServices COMException
by Rizo on sep.07, 2009, under Developing
I had to make a clean Vista install on my machine and all of a sudden I was getting System.Runtime.InteropServices.COMException when opening old solutions. The error says very little to the user but what it really want’s to say is:
Install IIS 6 WMI Compatibility by going to Control Panel, Programs, Turn windows features on and off and select as the picture below shows
maj 27th, 2010 on 13:57
I had similar issue in Windows 7 and Visual Studio 2008.
Web applications were able to configure in ISS 7.5 but when i tried for the WebService it gave the com error. As you mentioned when i enabled items mentioned by you it worked.
Thanks 🙂
juni 16th, 2010 on 13:53
Thank you, thank you, thank you. You saved me hours of work.
Running Visual Studio Team System 2008 on Windows 7 64-bit. Got the exact same error message when loading a project. Adding IIS 6 WMI and Metabase corrected the issue immediately.
juni 16th, 2010 on 15:06
Glad I could help 🙂 I try to post stuff that are timekillers as soon as I run into them 🙂
november 3rd, 2010 on 16:22
Thankyou very much Rizo. It worked for me too.
november 3rd, 2010 on 16:23
and I had to run vs2008 in admin mode.
september 27th, 2011 on 07:18
I was looking eyverhwere and this popped up like nothing!
juni 6th, 2012 on 18:45
Thanks sooo much. My company will start migrating their computers from XP to Windows 7 (finally) over the next 18 months. I’m in their pilot program and was issued a new computer. I had other configuration issues (run vs2008 in admin mode, register ASP.NET, regedit & source control changes), but I spent all day yesterday trying to fix this error. Thanks again for sharing!!! Much appreciated.
juni 6th, 2012 on 18:51
You’re so very welcome 🙂 I’m glad that the posts helps people 🙂