Problem checking in and out - 4.0.4 client

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

Moderator: SourceGear

Post Reply
BradleyUffner
Posts: 49
Joined: Mon Jun 11, 2007 3:37 pm

Problem checking in and out - 4.0.4 client

Post by BradleyUffner » Mon Sep 17, 2007 10:31 am

I just encountered a show stopping bug that I need help resolving as soon as possible.

I just branched a solution off of the main trunk a few days ago, and now i need to edit some files. Specificly I need to add a reference to one of the projects. From within the vs2005 client, adding the references causes the proj file to get checked out as it should. But when I go to check the project back in i get a vault dialog simply saying "File could not be found.". and the checkin never happens. Attempting to check the project in through the stand along client results in a "DFFail" error. I noticed that once i check the file out, wether from the stand along, or the integrated client, the checked out file is listed TWICE in the pending change set window. Trying to delete one of these entries causes the changes to be reverted, and BOTH lines go away. It's happening with all project files within the solution (web application, class library, and forms application, and console application)

This only seems to happen with the Project file, other files within the project and solution work fine.
Attachments
Untitled.gif
Untitled.gif (55.59 KiB) Viewed 4380 times

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

Post by lbauer » Mon Sep 17, 2007 3:05 pm

The double checkouts is a known bug -- a problem on the server side with checkouts not being reported properly. It will be fixed in Vault 4.0.5, due out soon. In the meantime your client side cache is out of sync with the repository.

I would suggest closing any open clients on the machine and clearing out your client-side cache.

http://support.sourcegear.com/viewtopic.php?t=6
particularly CacheMember_Repository and CacheMember_LastStructureGetTime, and CacheMember_Checkoutlist.
Linda Bauer
SourceGear
Technical Support Manager

BradleyUffner
Posts: 49
Joined: Mon Jun 11, 2007 3:37 pm

Post by BradleyUffner » Tue Sep 18, 2007 7:36 am

I completely deleted all folders within %USERPROFILE%\Local Settings\Application Data\SourceGear\Vault_1\Client\ as shown in the link on clearing the cache and still have the same issues.

BradleyUffner
Posts: 49
Joined: Mon Jun 11, 2007 3:37 pm

Post by BradleyUffner » Tue Sep 18, 2007 8:24 pm

I just created a brand new repository for a new project. I'm getting the exact same problem trying to check in the project file after it's initial load into Vault. I need a fix for this ASAP, as it's holding up development of the new project.

jclausius
Posts: 3706
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Wed Sep 19, 2007 8:19 am

Did you have Vault, Visual Studio, or any other IDE closed while removing the cache?

Another option is to use the Admin Tool. From the undo checkout section can you see the checkout? If so, you should be able to remove the checkout from there.
Jeff Clausius
SourceGear

BradleyUffner
Posts: 49
Joined: Mon Jun 11, 2007 3:37 pm

Post by BradleyUffner » Wed Sep 19, 2007 8:32 am

I even tried clearing the cache after rebooting the machine to make sure it wasn't running. Undoing the checkout from the admin page fixed the problem. Thanks for the fix.

jclausius
Posts: 3706
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Wed Sep 19, 2007 9:31 am

Glad to see this resolved the problem. Are you by chance using the Visual Studio 2005 integrated client? What exact steps did you execute to create the two checkouts?

The double checkout list bug will be fixed in Vault 4.0.5, but what you encountered may be something different related to branching the solution or project. I'd like to try some testing on branched projects using your steps to see if we can recreate the problem.

Thanks.
Jeff Clausius
SourceGear

BradleyUffner
Posts: 49
Joined: Mon Jun 11, 2007 3:37 pm

Post by BradleyUffner » Wed Sep 19, 2007 4:58 pm

I'll try to give you the steps as best as I can remember them. I am using the vs 2005 client.

I'm using the Vault 2005 client, in visualo studio 2005 SP1 and vista Sp1 patch, on Vista x64. UAC is disabled.

1. I made sure all changes were checked in to the project by all the developers.
2. I opened the stand alone client and created the branch.
3. I changed the working directory on the branch to point to the new folder i wanted to keep that branch in, and did 'Get Latest' from the stand alone client.
4. I opened visual studio, browsed to the .sln file for the branch and opened it up.
5. I realized I needed to update a refeference to a 3rd party library tat had recently released a new version. So I deleted the reference, and recreated it.
6. At this point the pending actions window was empty even though i had edited the project file.
7. I tried checking in the project any way, and received the "File Not Found" error, and at this point is when the proj file showed up twice in the pending actions window.
8. I tried deleting one of the pending items and everythign reverted. I repeated step 5 and onward again with the same results.
9. Tried to check in the project file from within the stand alone client and got the "DFFail" error.

If you have any other questions I'll be glad to help. Vault is a great product and I'd like to help improve it any way i can.

Post Reply