Visual Studio 2008 System Runtime InteropServices COMException

by 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 showswindowsfeatures


8 Comments for this entry

  • TM Anas

    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 🙂

  • pking

    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.

  • Rizo

    Glad I could help 🙂 I try to post stuff that are timekillers as soon as I run into them 🙂

  • stpeer

    Thankyou very much Rizo. It worked for me too.

  • stpeer

    and I had to run vs2008 in admin mode.

  • Loradae

    I was looking eyverhwere and this popped up like nothing!

  • JB

    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.

  • Rizo

    You’re so very welcome 🙂 I’m glad that the posts helps people 🙂

10 Trackbacks / Pingbacks for this entry

Leave a Reply

You must be logged in to post a comment.

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!