I’m getting the following error when I attempt to publish an XNA project in Visual Studio 2010.
Error 1 Publish failed with the following error: Unable to cast COM
object of type ‘System.__ComObject’ to interface type
‘Microsoft.VisualStudio.OLE.Interop.IServiceProvider’. This operation
failed because the QueryInterface call on the COM component for the
interface with IID ‘{6D5140C1-7436-11CE-8034-00AA006009FA}’ failed due
to the following error: No such interface supported (Exception from
HRESULT: 0x80004002 (E_NOINTERFACE)). 1 1 Asteroids
I’ve tried registering actxprxy.dll and ieproxy.dll as others have suggested, but I continue to get this error.
I get this error with a blank XNA Game template, as well as a completed XNA game.
I am able to Build and Debug the same projects fine.
there is a discussion that claims that this is due to “registry corruption”. One of the comments proposes a “nuclear” solution of re-registering every single OCX and DLL in the System32 folder:
Perhaps it could solve your problem.