SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Unable to cast COM object of type ‘System.__ComObject’ to interface type


Unable to cast COM object of type ‘System.__ComObject’ to interface type

Author
Message
TSQL Tryer
TSQL Tryer
SSChasing Mays
SSChasing Mays (603 reputation)SSChasing Mays (603 reputation)SSChasing Mays (603 reputation)SSChasing Mays (603 reputation)SSChasing Mays (603 reputation)SSChasing Mays (603 reputation)SSChasing Mays (603 reputation)SSChasing Mays (603 reputation)

Group: General Forum Members
Points: 603 Visits: 708
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
Eirikur Eiriksson
Eirikur Eiriksson
SSCoach
SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)

Group: General Forum Members
Points: 15276 Visits: 18607
Quick thought, are the SSMS versions 2008 or later and could the backward compatibility be missing?
Cool
TSQL Tryer
TSQL Tryer
SSChasing Mays
SSChasing Mays (603 reputation)SSChasing Mays (603 reputation)SSChasing Mays (603 reputation)SSChasing Mays (603 reputation)SSChasing Mays (603 reputation)SSChasing Mays (603 reputation)SSChasing Mays (603 reputation)SSChasing Mays (603 reputation)

Group: General Forum Members
Points: 603 Visits: 708
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
Eirikur Eiriksson
Eirikur Eiriksson
SSCoach
SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)

Group: General Forum Members
Points: 15276 Visits: 18607
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.
Cool
TSQL Tryer
TSQL Tryer
SSChasing Mays
SSChasing Mays (603 reputation)SSChasing Mays (603 reputation)SSChasing Mays (603 reputation)SSChasing Mays (603 reputation)SSChasing Mays (603 reputation)SSChasing Mays (603 reputation)SSChasing Mays (603 reputation)SSChasing Mays (603 reputation)

Group: General Forum Members
Points: 603 Visits: 708
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.
TSQL Tryer
TSQL Tryer
SSChasing Mays
SSChasing Mays (603 reputation)SSChasing Mays (603 reputation)SSChasing Mays (603 reputation)SSChasing Mays (603 reputation)SSChasing Mays (603 reputation)SSChasing Mays (603 reputation)SSChasing Mays (603 reputation)SSChasing Mays (603 reputation)

Group: General Forum Members
Points: 603 Visits: 708
Guys - had to re-register a bunch of dlls. All now working. Thanks for your help.


http://support.microsoft.com/kb/953492/en-us
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search