Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Unable to cast COM object of type ‘System.__ComObject’ to interface type Expand / Collapse
Author
Message
Posted Friday, August 22, 2014 3:12 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Friday, October 10, 2014 2:46 AM
Points: 228, Visits: 456
Good morning,

On our SQL Server 2005 box when someone is connecting to the SQL Server Management Studio they are getting the below error message - but I don't.

I am however a domain admin on the domain and an admin on the SQL Server.

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)

The only thing I have done on this PC recently was upgrade from IE7 to IE8 I have also tried what this link recommends, but again it didn't work.

http://sqlserverscribbles.com/tag/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-compone/

Running out of ideas as to why that particular user is getting the error, but I'm not.

Thanks
Post #1606156
Posted Friday, August 22, 2014 3:19 AM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Today @ 12:52 PM
Points: 2,187, Visits: 5,918
Quick thought, are the SSMS versions 2008 or later and could the backward compatibility be missing?
Post #1606158
Posted Friday, August 22, 2014 3:45 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Friday, October 10, 2014 2:46 AM
Points: 228, Visits: 456
Sorry not sure I understand you comment.

The server is Windows Server 2008 and SQL Server Management Studio information is below -

Microsoft SQL Server Management Studio - 9.00.4035.00
Microsoft Analysis Services Client Tools - 2005.090.4035.00
Microsoft Data Access Components (MDAC) - 6.0.6001.18000 (longhorn_rtm.080118-1840)
Microsoft MSXML - 3.0 6.0
Microsoft Internet Explorer - 8.0.6001.18702
Microsoft .NET Framework - 2.0.50727.3074
Operating System - 6.0.6001
Post #1606172
Posted Friday, August 22, 2014 3:56 AM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Today @ 12:52 PM
Points: 2,187, Visits: 5,918
If I remember correctly, there is a backward compatibility components option in the SQL install, seen this problem when trying to access earlier versions of SQL Server without having the components installed.
Post #1606173
Posted Friday, August 22, 2014 4:22 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Friday, October 10, 2014 2:46 AM
Points: 228, Visits: 456
But I don't get the error - wouldn't I get the error too if it was a compatibility issue?

The user who is getting the error appears to have never got the issue until I upgraded Internet Explorer to 8.

All they do is open the Management Studio in order to check that all our "Jobs" have run and they are presented with that error.
Post #1606188
Posted Friday, August 22, 2014 4:59 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Friday, October 10, 2014 2:46 AM
Points: 228, Visits: 456
Guys - had to re-register a bunch of dlls. All now working. Thanks for your help.


http://support.microsoft.com/kb/953492/en-us
Post #1606203
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse