Cast error to interface type ... Shell.Interop.IVsSolution2

If you are having a problem using Fortress, post a message here.

Moderator: SourceGear

Post Reply
suzdrgon
Posts: 1
Joined: Mon Nov 03, 2008 8:21 am

Cast error to interface type ... Shell.Interop.IVsSolution2

Post by suzdrgon » Mon Nov 03, 2008 8:39 am

Using VS2008 9.0.21022.8 and Sourcegear Fortress 1.1.2.18185, I can suddenly no longer check in files that I have checked out and edited. I am able to undo the checkout however.

The error message I receive is as follows:

Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.VisualStudio.Shell.Interop.IVsSolution2'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{95C6A090-BB9E-4BF2-B0BE-F1D04F0ECEA3}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).

Are you able to offer any insight?

Thanks.

ian_sg
Posts: 787
Joined: Wed May 04, 2005 10:55 am
Location: SourceGear
Contact:

Re: Cast error to interface type ... Shell.Interop.IVsSolution2

Post by ian_sg » Mon Nov 03, 2008 10:15 am

This error is caused by a COM dll not being correctly registered. Have you recently installed/uninstalled anything?

Repairing the Visual Studio installation should fix this.
Ian Olsen
SourceGear

Post Reply