SSMS - Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft .VisualStudio .OLE .Interop .IServiceProvider'. Exception from HRESULT: 0x80004002 (E_NOINTERFACE))
I am working on Windows Server 2008 SP1 Datacenter Edition 64-bit, with SQL Server 2008 installed.
After installing Windows IE8, I got the following error upon starting SQL Server Management Studio (SSMS) 2008.
===== Error 0x80004002 =====
SSMS - 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)). (Microsoft.VisualStudio.OLE.Interop)
===== Solution =====
After a bit of investigation, I found that the registry is somehow corrupted, and the solution is to re-register DLL.
~ Run [ Command Prompt ] (You will need to use the **Run as administrator** option)
~ regsvr32 actxprxy.dll
===== For more information =====
~ SSMS Object Explorer/Server Explorer Error
http://social.msdn.microsoft.com/Forums/en-US/sqltools/thread/d5d3e5fc-d8ce-4f42-b7ea-9bbbb7756a20/
~ Windows Internet Explorer 8
http://www.microsoft.com/ie8