FailObjAlreadyExists

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

Moderator: SourceGear

Post Reply
BrianFairchild
Posts: 7
Joined: Tue Oct 08, 2013 2:18 pm

FailObjAlreadyExists

Post by BrianFairchild » Tue Oct 08, 2013 2:21 pm

I'm trying to do a handoff but every time I do it gets through all of my files then some message that says something like "... this may take a while" then I get the error

Summary
The following errors were encountered during the handoff:
1207 : FailObjAlreadyExists

Here's the info from my log file:


----10/8/2013 3:16:25 PM admin--::1(::1)--SSL Disabled VaultServiceAPILib.VaultSoapException: 1207 : FailObjAlreadyExists
at VaultServiceAPILib.VaultServiceAPI.CommitRequests(Int32 nUserID, Int32 nRepID, ArrayList alRequests, VSSImportProgressMessage message, String comment)
at VaultServiceAPILib.VaultServiceAPI.RunCannedImport(Int32 externalID, Int32 repid, Int32 userid, String srcsafeImportRoot, String vaultDestinationPath, VSSImportProgressMessage message, VSSImportErrorMessage error)
at VaultService.Admin.Handoff.ThreadCallBack(Object state)
at VaultServiceBase.WorkerThread.ThreadMain() at VaultServiceAPILib.VaultServiceAPI.CommitRequests(Int32 nUserID, Int32 nRepID, ArrayList alRequests, VSSImportProgressMessage message, String comment)
at VaultServiceAPILib.VaultServiceAPI.RunCannedImport(Int32 externalID, Int32 repid, Int32 userid, String srcsafeImportRoot, String vaultDestinationPath, VSSImportProgressMessage message, VSSImportErrorMessage error)
at VaultService.Admin.Handoff.ThreadCallBack(Object state)
at VaultServiceBase.WorkerThread.ThreadMain()
----10/8/2013 3:16:27 PM admin--::1(::1)--SSL Disabled Handoff Error: 1207 : FailObjAlreadyExists

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: FailObjAlreadyExists

Post by Beth » Wed Oct 09, 2013 7:47 am

Are you importing into an area that already has these files or importing into the same area twice?

Could you run a test where you create a new blank repository using the Vault admin web page, then try to import into that? Does the same error happen then?
Beth Kieler
SourceGear Technical Support

BrianFairchild
Posts: 7
Joined: Tue Oct 08, 2013 2:18 pm

Re: FailObjAlreadyExists

Post by BrianFairchild » Wed Oct 09, 2013 8:07 am

I have tried two different servers. One is a server where I created a new repository that had previous repositories on it, with data. The second is a new server, new repository, same VSS data, structure and files. This error message and log file info are from the new server running version 7 of Vault Standard.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: FailObjAlreadyExists

Post by Beth » Wed Oct 09, 2013 8:35 am

On the new server, prior to starting the handoff, do you have at least one repository already created? Or was the initial repository deleted and you're making a new repository during the handoff?

What version of VSS are you running?

Can you tell me the version of the ssapi.dll that you have? Details on how to find the registered version are posted here: http://support.sourcegear.com/viewtopic.php?t=1510.
Beth Kieler
SourceGear Technical Support

BrianFairchild
Posts: 7
Joined: Tue Oct 08, 2013 2:18 pm

Re: FailObjAlreadyExists

Post by BrianFairchild » Wed Oct 09, 2013 9:53 am

the VSS version (and ssapi.dll version) are 8.0.50727.42.

I have tried the handoff again, but this time removing the previous repositories I had and still am getting the same error.

BrianFairchild
Posts: 7
Joined: Tue Oct 08, 2013 2:18 pm

Re: FailObjAlreadyExists

Post by BrianFairchild » Wed Oct 09, 2013 9:58 am

As a side note, I just tried to import an extremely small vss database with success. Is there a limit on the amount of data in the repository that could cause the error?

The folder structure I'm trying to import is 3.57 GB, 55672 files and 6020 folders.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: FailObjAlreadyExists

Post by Beth » Wed Oct 09, 2013 10:57 am

There isn't a limit on how much you can handoff.

Here's a few things you might try.
1) Run analyze -C -D -F -V4 <path to VSS data folder> a couple times against the VSS database (For example, it might look like analyze -C -D -F -V4 C:\VSS\Data)

2) Try importing a smaller amount at a time.

3) Try the VSS service pack 1. That will get you a newer version of the ssapi.dll.
Beth Kieler
SourceGear Technical Support

Post Reply