"The file could not be found" when trying to check

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

Moderator: SourceGear

Post Reply
domeld
Posts: 3
Joined: Tue Sep 04, 2007 2:23 am

"The file could not be found" when trying to check

Post by domeld » Tue Sep 04, 2007 2:36 am

I'm trying to check-in a file and it gives "The file could not be found" error. I checked the log and the error is FailFileNotFound.

This seems to be due to the fact that in the check-in dialog the same file is listed 3 times in the files list (I am only checking in the one file). When I uncheck all but one in the list it worked. Another file is showing twice in the list and gives a FailDbFault error on check-in.

Could you tell me what is causing the repeated file in the file list and the file not found error.

Thanks.
We are using version 4.0.4

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

Post by Beth » Tue Sep 04, 2007 7:37 am

Are you using Vault with IDE integration? If so, which version of Visual Studio are you using and what setting are you using in the VS Tools - Options - Source Code Control?

domeld
Posts: 3
Joined: Tue Sep 04, 2007 2:23 am

Post by domeld » Tue Sep 04, 2007 8:09 am

I am using Visual Studio version 2005 with the 2003 compaible client, with all the default options except that the Checked-in item behaviour On Edit/On Save is set to prompt before checking out.

But in this case I had checked it out using the vault client, in order to copy over some changes made by someone else outside of source control. I then checked it in using the Vault client and got that error.

domeld
Posts: 3
Joined: Tue Sep 04, 2007 2:23 am

Post by domeld » Tue Sep 04, 2007 10:14 am

One other thing which may be relevant - I did move my local folders around a bit, so I may changed the working folder settings whilst having a file cheecked out, not sure if this makes a difference.

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

Post by Beth » Tue Sep 04, 2007 1:36 pm

Yes, moving the folders around will make a big difference. If you are using IDE integration, you shouldn't set a working folder in Vault, or if you do, you have to make sure they exactly match.

Your working folder needs to be the same as the location you checked out to.

When you next try to open your project in Visual Studio, you may have some problems, because Visual Studio won't know where things went to either. If that's a problem, then you will probably have to unbind the project, remove from solution explorer the items it can't find, re-add them to the solution from disk, and then when done with all that, rebind it back to it's Vault location.

Post Reply