Unable to cast COM objects

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

Moderator: SourceGear

Post Reply
jlehew
Posts: 14
Joined: Wed Mar 05, 2008 2:51 pm

Unable to cast COM objects

Post by jlehew » Wed Apr 02, 2008 7:50 am

I received this error when I clicked "Add Solution to Fortress" in VS2008. I'm also running on Windows Server 2003 64bit and re-registering actxprxy.dll which was the fix for others didn't fix the issue on Fortress 1.1.0. I have Visual Studio, SourceGear, and Sql Server 2005 all on different VMs.

Code: Select all

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)).
Is there something else that might fix this issue?

Thanks,
John

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

Post by ian_sg » Wed Apr 02, 2008 8:13 am

Try running %windir%\syswow64\regsvr32.exe to register the dll.
Ian Olsen
SourceGear

jlehew
Posts: 14
Joined: Wed Mar 05, 2008 2:51 pm

Post by jlehew » Thu Apr 03, 2008 9:20 am

Thanks! That worked.

I thought since it was a 32bit app I needed to run Windows\System32\RegSvr32 and would only run Windows\SysWow64\RegSvr32 for a 64 bit app.

John

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Thu Apr 03, 2008 3:38 pm

Let us know if you need further assistance.
Linda Bauer
SourceGear
Technical Support Manager

jrichmond
Posts: 1
Joined: Wed Jun 11, 2008 12:43 am

Unable to cast COM objects

Post by jrichmond » Wed Jun 11, 2008 12:44 am

I am having the same problem. What dll do I need to register? On the client or on the server?

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

Post by ian_sg » Wed Jun 11, 2008 8:27 am

actxprxy.dll on the client.

This thread has more information.

Newer versions of Vault should make sure this dll is properly registered. What version are you running?
Ian Olsen
SourceGear

Post Reply