Ever had this error before in SQL Server Management Studio?
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)
Well it had me stumped for a while. I found this forum post on MSDN but following the suggested fix of re-registering actxprxt.dll didn’t work for me. However by chance I just thought I’d try unregistering it first and hey presto it worked. So if you have the same problem run regsvr32.exe –r actxprxy.dll first before registering it again.
Strange!!