Error when adding solution to fortress

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

Moderator: SourceGear

Post Reply
MattK
Posts: 15
Joined: Mon Jul 21, 2008 8:24 pm

Error when adding solution to fortress

Post by MattK » Thu Oct 02, 2008 6:27 pm

I am trying to add a solution to fortress using VS 2008. When I right-click the solution name in the solution folder and select "add to fortress", sign in, and choose a repository folder, click ok, I get the following:
Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.VisualStudio.Shell.Interop.IPersistFileFormat'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{3AFAE242-B530-11D0-8199-00A0C91BBEE3}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
I've tried restarting VS2008 to no avail.

[10/2/2008 5:23:31 PM] Version Check: This Fortress client is version 1.1.2.18185
[10/2/2008 5:23:31 PM] Version Check: Your Fortress server is version 1.1.2.18185

Thanks

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

Re: Error when adding solution to fortress

Post by lbauer » Thu Oct 02, 2008 9:16 pm

This COM interface error may the result of an unregistered COM dll.

You can fix that on a 64-bit OS by running this from the command line:

Code: Select all

regsvr32 "C:\Program Files (x86)\Common Files\Microsoft Shared\MSEnv\TextMgrP.dll"
On a 32-bit OS the command would be

Code: Select all

regsvr32 "C:\Program Files\Common Files\Microsoft Shared\MSEnv\TextMgrP.dll"
On Vista you need to launch cmd.exe with administrative privileges before running the command.
Linda Bauer
SourceGear
Technical Support Manager

MattK
Posts: 15
Joined: Mon Jul 21, 2008 8:24 pm

Re: Error when adding solution to fortress

Post by MattK » Thu Oct 02, 2008 9:34 pm

That worked! thanks!

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

Re: Error when adding solution to fortress

Post by lbauer » Fri Oct 03, 2008 10:43 am

Thanks for the update. :-)
Linda Bauer
SourceGear
Technical Support Manager

marsh
Posts: 1
Joined: Thu Oct 08, 2009 7:28 pm

Re: Error when adding solution to fortress

Post by marsh » Thu Oct 08, 2009 7:34 pm

Hi there

I'm totally new to Fortress and have just downloaded and installed the latest version, on Windows 7 x64 machine, but get the same error as mentioned here.
Unfortunately that fix didn't work for me, and I'm still getting the same error when trying to add a solution.

any guidance would be appreciated.

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

Re: Error when adding solution to fortress

Post by lbauer » Fri Oct 09, 2009 12:56 pm

In Visual Studio, look under Tools->Options->Source Control->Source Control Plugin.

What plugin is selected there?
Linda Bauer
SourceGear
Technical Support Manager

Post Reply