Problem checking in and out - 4.0.4 client
Moderator: SourceGear
-
- Posts: 49
- Joined: Mon Jun 11, 2007 3:37 pm
Problem checking in and out - 4.0.4 client
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.
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 (55.59 KiB) Viewed 4376 times
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.
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
SourceGear
Technical Support Manager
-
- Posts: 49
- Joined: Mon Jun 11, 2007 3:37 pm
-
- Posts: 49
- Joined: Mon Jun 11, 2007 3:37 pm
-
- Posts: 49
- Joined: Mon Jun 11, 2007 3:37 pm
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.
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
SourceGear
-
- Posts: 49
- Joined: Mon Jun 11, 2007 3:37 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.
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.