Unable to cast object of type 'SourceGearLLC.VaultVsipClient

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

Moderator: SourceGear

Post Reply
kharpoh
Posts: 6
Joined: Mon Aug 13, 2007 7:23 pm

Unable to cast object of type 'SourceGearLLC.VaultVsipClient

Post by kharpoh » Mon Aug 13, 2007 7:52 pm

1. Create "C:\MyTestProduct" folder

2. Start VS2005 Professional Ed (8.0.50727.762 (SP .050727-7600))

3. File --> New --> Project --> Console Application called ConsoleApplication1
Make sure Location is C:\MyTestProduct and Create directory for solution is unchecked.

4. Right click on Solution and Add --> New Project --> Class Library called ClassLibrary1

5. Save all and build

6. Right click on solution and select Add Solution to Vault

7. It goes through a login session and threw an "Unable to cast object of type 'SourceGearLLC.VaultVsipClient.SolutionAndProjectNode' to type ''SourceGearLLC.VaultVsipClient.SolutionNode'.

Vault server version: 4.0.4.15848
Vault client version: 4.0.4 (15848)

Please help

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

Post by lbauer » Tue Aug 14, 2007 6:46 am

I was able to reproduce this with the VS 2005 integration. I assume that's what you're using?

Thanks for the detailed steps. We'll have our Visual Studio specialist check this out. Thanks for the report.
Make sure Location is C:\MyTestProduct and Create directory for solution is unchecked.
Note: this does seem to work if "Create directory" is checked.
Linda Bauer
SourceGear
Technical Support Manager

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

Post by ian_sg » Tue Aug 14, 2007 8:04 am

We determined what's causing this. As Linda mentioned, putting the solution in its own folder via the checkbox is the best workaround. The core issue will be fixed in the next release.
Ian Olsen
SourceGear

Post Reply