Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.VisualStudio.OLE.Interop.IServiceProvider'

After installing Visual Studio 2008 and SQL Server 2008 on Windows 7, I get the following error when connecting to a server with SQL 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)

I've seen blog postings recommending reregistering actprxy.dll, but this has no effect. Anyone know how to resolve this issue?

like image 241
Will Plourde Avatar asked Oct 31 '09 13:10

Will Plourde


1 Answers

actprxy.dll also didn't work for me. I found a solution that worked here

regsvr32 "C:\Program Files\Internet Explorer\ieproxy.dll"

if you are running 64 bit windows, try this:

regsvr32 "C:\Program Files (x86)\Internet Explorer\ieproxy.dll"

like image 96
sagescrub Avatar answered Sep 18 '22 09:09

sagescrub