Sep 06

Solving ‘An exception occurred in publishing: No such interface supported (Exception from HRESULT: 0×80004002 (E_NOINTERFACE)’ with Visual Studio 2012 RC

So I’m using Visual Studio 2010 RC and loving web deploy as a simple way to publish my projects to different environments.  However a problem cropped up today after installing some web tooling updates:

‘An exception occurred in publishing: No such interface supported (Exception from HRESULT: 0×80004002 (E_NOINTERFACE)’

I couldn’t even open the publish settings dialog to see if anything was wrong in there.  I tried restarting Visual Studio, then running it as Admin, no change.  I eventually found the following steps on a forum which resolved the problem for me:

  1. Run Command Prompt as Administrator
  2. regsvr32 actxprxy.dll
  3. Restart Visual Studio

And hey presto, project publishing was working again!

Hopefully this will be of use to someone else out there banging their head against a brick wall trying to figure this one out.

Permanent link to this article: http://www.huggill.com/2012/09/06/solving-an-exception-occurred-in-publishing-no-such-interface-supported-exception-from-hresult-0x80004002-e_nointerface-with-visual-studio-2012-rc/


Skip to comment form

  1. thekip

    Thanks, works like a charm!

  2. Gustav Brock

    Yes. Problem solved in minutes. Thanks!

  3. Mr. Code Monkey

    Perfecto! Thanks for the information!

  4. Glyn

    My publishing broke when I put my VS2012 Silverlight website solution source into TFS for version control. Odd.

    Anyway, your solution fixed the publishing so I’m back up and working.


  5. Grant W. Fletcher

    Thank you. I have a Visual Studio 2012 solution with 11 projects. I removed one of the projects and discovered the unexpected feature of not being able to publish. Your solution helped.

  6. AbbaDabba

    Worked perfect, thanks for posting.

  7. Ignacio

    Perfect solution. Thanks!!!

  8. home remedies for acne overnight

    Hi to all, the contents existing at this website are actually amazing for people
    knowledge, well, keep up the nice work fellows.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>