Access Denied errors after Database Restore

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

Moderator: SourceGear

Post Reply
ladonna

Access Denied errors after Database Restore

Post by ladonna » Mon Jun 28, 2004 3:13 pm

We had some problems with our Vault install and had to restore the database from tape. After doing that, the server and Vault client are fine, but my VS.NET project that was previously integrated no longer appears to be integrated. When I try to get latest version through VS.NET, I get "Invalid object version specified." and a popup window saying "Access failure."

Any ideas here how to fix this? It is happening to multiple clients after the server restore.

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Mon Jun 28, 2004 3:37 pm

If the clients think the repository is at a version that is different from the what version the repository is really at, then deltas between the two will probably be incorrect as to what version each file is really at in the repository.

My suggestion would be to choose a new working folder on each client machine, and do an Open From Source Control to reset your baselines. You might want to clear out your client baseline files at the same time (by default they are at %APPDATA%\SourceGear\Vault_1)

Before doing this, make sure any files that were modified are saved off somewhere, as you'll want to move them over to your new working folder after you've retrieved the files again.

dneal
Posts: 12
Joined: Thu Jun 17, 2004 10:28 am

Post by dneal » Sat Jul 03, 2004 10:35 pm

A word of warning to anyone who might need to do this... If you change your working folder, make sure all sub-projects inherit their working folder before doing a "Get Latest" from a restored database. I didn't check for this and I lost some changes on a couple of projects :cry:

Post Reply