Check-in failing because folder already exists in repository

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

Moderator: SourceGear

Post Reply
abailey
Posts: 1
Joined: Tue Jun 30, 2009 6:18 am

Check-in failing because folder already exists in repository

Post by abailey » Tue Jun 30, 2009 6:44 am

Hi,
I am having trouble checking in a VB6 project (via the Vault client). It always fails with the following:

Code: Select all

Item $/05 - Development/BarCheck/Trunk/BarCheckM caused the transaction to fail: An item with the same name or object id already exists in the selected folder.
BarCheckM is one of the subfolders of the project. It does exist in the repository and the working folder but that's expected. It was checked out okay
If I select individual files within the sub folder, they check in fine. Its just the subfolder itself that has the problem.

How do I reset the status so that Vault stops trying to create this folder in the repository?

Thanks,
Alex.

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

Re: Check-in failing because folder already exists in repository

Post by lbauer » Tue Jun 30, 2009 10:00 am

Check the pending change set in the Vault GUI Client to see if there's an "orphaned" Add transaction there that fails on commit.

If that doesn't help, I'd suggest deleting the client-side cache, as it may be out of sync with the database. Close any open clients first.

http://support.sourcegear.com/viewtopic ... 13&t=11513
Linda Bauer
SourceGear
Technical Support Manager

Post Reply