Error: Invalid object version specified

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

Moderator: SourceGear

Post Reply
Neil M

Error: Invalid object version specified

Post by Neil M » Thu Jan 06, 2005 9:39 am

Does anyone have any ideas as to what would cause the Vault client to report the following error when doing a file Get Latest:

[06/01/2005 15:20:54] Get latest version failed for $/XXX/AssemblyVersionInfo.cs: Invalid object version specified.

The problem seems to be specific to a given client as Get Latest works OK on another machine. I've tried deleting the whole project directory as well as individual files.

TIA

Neil

Guest

Post by Guest » Thu Jan 06, 2005 9:41 am

Sorry - Client Version 2.0.4

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

Post by lbauer » Thu Jan 06, 2005 9:50 am

See if the suggestions in this post help:

http://support.sourcegear.com/viewtopic.php?t=1337

This has to do with the IDE, but the suggestion about deleting your Vault client cache files may apply.

You can also try to do a get to a non-working folder (in the To: box of the Get dialog, browse to a different folder) to see if the get works. If so, deleting the client cache might work.
Linda Bauer
SourceGear
Technical Support Manager

Guest

Post by Guest » Thu Jan 06, 2005 10:19 am

Linda

Thanks for the incredibly fast response! You are right about deleting the cache.

I had just tracked down this posting and tried the suggestion:

http://support.sourcegear.com/viewtopic.php?t=2580

I've deleted just the sgvault directory in the user client application settings and this has removed the problem whilst preserving my working directory settings.

I plan on doing a get latest on the root folder to remove the unknown status on each file - is there anything else I should do or not do?

Just for info - this problem occured after running a c# program which uses the Vault API to delete the AssemblyVersionInfo.cs file and re-add it as a share.

Regards

Neil M

Post Reply