Import SOurcesafe database with VSS 6.0c

This forum is now locked, since Gold Support is no longer offered.

Moderator: SourceGear

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

Post by lbauer » Wed Apr 18, 2007 8:38 pm

You can use VSS 2005, or if you have VSS 6.0, you can download the VSS 6.0c Hotfix from this link:

http://download.sourcegear.com/files/vss_60c_hotfix.zip
Linda Bauer
SourceGear
Technical Support Manager

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

Post by lbauer » Fri Apr 20, 2007 7:36 am

Yes. Just replace the contents of the VSS\Win32 directory with the contents or the archive.
Linda Bauer
SourceGear
Technical Support Manager

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

Post by lbauer » Sun Apr 22, 2007 8:17 pm

Does the Vault server log have any corresponding messages? It's sgvault.log in %windir%\temp\sgvault.
Linda Bauer
SourceGear
Technical Support Manager

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

Post by lbauer » Thu Apr 26, 2007 12:51 pm

Make sure there is a temp directory in the directory where the SourceSafe database resides. If not, create a Temp directory in the directory that contains the srcsafe.ini file. (The Temp directory and srcsafe.ini file should be siblings.) The cause of this error:
**Failed** to Get version X of Y to upload
is generally because there is no SourceSafe temp directory.

The following error is benign -- it means the Import Tool is trying to create a username that already exists in Vault.

----4/23/2007 6:56:15 PM admin--dellserver(xx.xxx.xxx.xxx)--SSL Disabled System.Data.SqlClient.SqlException: Cannot insert duplicate key row in object 'tblusers' with unique index 'idxuserlogins'
.

It's not clear whether or not the error below is causing a problem with the Import. It could, if it is restarting the server in the midst of a transaction. If you continue to see this in the log, I'd suggest upgrading to Vault 3.5.2 (Client and Server), as this deadlock issue has been fixed.
----4/23/2007 3:54:39 PM admin--dellserver(xx.xxx.xxx.xxx)--SSL Disabled An error occurred during the deletion of liibgy55kkzdefuyi0ca2a45. Please check that the session was removed from the database.\tTransaction (Process ID 55) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
Linda Bauer
SourceGear
Technical Support Manager

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

Post by lbauer » Wed May 02, 2007 8:03 am

90d18991-f1e0-4541-af63-9c31a2d6cc7c) returned: FailObjAlreadyExists
----5/2/2007 12:11:54 AM admin--dellserver.serverdell.vskl.com(10.228.210.105)--SSL Disabled (90d18991-f1e0-4541-af63-9c31a2d6cc7c) AddFolder: $/wise returned: FailObjAlreadyExists
It looks like the folder structure was already there -- possibly from the previous import attempt?

Try starting over with a fresh repository, or delete/obliterate anything that was created by previous import attempts.
Linda Bauer
SourceGear
Technical Support Manager

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

Post by lbauer » Sat May 05, 2007 7:27 am

The import will try to recreate the folder and file structure. If it is failing at creating the folder structure (because the folder already exists), then it may not get the the file upload part.
Linda Bauer
SourceGear
Technical Support Manager

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

Post by lbauer » Mon May 07, 2007 8:48 am

There is generally a fee for us to import a VSS database for a customer. But we can take a look at your database to see what the problem might be.

Email support at sourcegear.com, attn: Linda, and we'll provide information on how to send the database to us.
Linda Bauer
SourceGear
Technical Support Manager

Locked