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: 0x80004002 (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:
- Run Command Prompt as Administrator
- regsvr32 actxprxy.dll
- 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.