The following repository path is already assigned to this wo

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

Moderator: SourceGear

Post Reply
btd
Posts: 324
Joined: Fri May 13, 2005 1:50 pm

The following repository path is already assigned to this wo

Post by btd » Thu Dec 20, 2012 1:57 pm

I am stumped.

We are using Vault 5.1.1.
We are using CruiseControl.net as the user interface to build our project.
We have set the Vault working folder to the right folder.

But during the automated build process (using Nant), we get this error.

etSourceRS3:

[delete] Deleting 1 files.
[delete] Deleted 2 directories.
[exec]
<vault>
[exec] <error>
[exec] <exception>VaultClientOperationsLib.WorkingFolderConflictException: The following repository path is already assigned to this working folder: $/ReportScheduler.v3.0_OLD
[exec] at VaultClientIntegrationLib.ServerOperations.SetWorkingFolder(String repositoryFolderPath, String diskPath, Boolean createDiskPath, Boolean forceSubfoldersToInherit)
[exec] at VaultCmdLineClient.VaultCmdLineClient.ProcessCommand(Args curArg)
[exec] at VaultCmdLineClient.VaultCmdLineClient.Main(String[] args)</exception>
[exec] </error>
[exec] <result>
[exec] <success>False</success>
[exec] </result>
[exec] </vault>


Why is this happening and do you have any suggestions?

Thanks
BTD

btd
Posts: 324
Joined: Fri May 13, 2005 1:50 pm

Re: The following repository path is already assigned to thi

Post by btd » Thu Dec 20, 2012 2:00 pm

In Vault, we have tried to remove the working folder association and then re-associate it. But it still says the same thing and errors out.

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

Re: The following repository path is already assigned to thi

Post by lbauer » Thu Dec 20, 2012 4:26 pm

Is the working folder explicitly set, or is it inherited?
Linda Bauer
SourceGear
Technical Support Manager

btd
Posts: 324
Joined: Fri May 13, 2005 1:50 pm

Re: The following repository path is already assigned to thi

Post by btd » Fri Dec 21, 2012 5:42 am

The working folder is explicitly set.
I got to the bottom of it. I had to logon to the server and set the working folder via different user.
This different user is the same one that CruiseControl uses when it communicates with Vault.

Sorry to bother you but at the time I really had no idea.

Thanks
BTD

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

Re: The following repository path is already assigned to thi

Post by lbauer » Fri Dec 21, 2012 11:18 am

No problem! Glad you figured it out.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply