PRB: "File not Found" Error Message During Checkin

Last reviewed: February 27, 1997
Article ID: Q147837
4.00 4.00a 5.00 | 4.00 4.00a 5.00
WINDOWS         | WINDOWS NT
kbusage kbprb

The information in this article applies to:

  • Microsoft SourceSafe for Windows NT, versions 4.0, 4.0a, 5.0
  • Microsoft SourceSafe for Windows 95, versions 4.0, 4.0a, 5.0

SYMPTOMS

It is possible to check out an entire project and its subprojects, recursively. The project structure can be preserved by using the "Build tree (override working dirs)" option in the Check Out dialog. If, however, one of the subprojects has a working directory set, SourceSafe will look in this working directory when checking in the projects. If the working directory is not the same as the directory structure which was created during the recursive checkout, a "File not Found" error will occur for each file in the subproject.

CAUSE

SourceSafe looks in the project's working directory for the files to check in rather than the check out directory.

NOTE: From the command line, files can only be checked in from the working directory. In the interface, files may be checked in from the check out directory if the "Override working dirs" option is used.

RESOLUTION

If you don't know if working directories have been set for subordinate projects, use the "Override working dirs" option on the Check In dialog.

Another option to avoid the error is to use the "Undo Check Out..." option.

STATUS

This behavior is by design.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a Main project with several subprojects and associated files.

  2. Set a working directory for one of the subprojects to something other than what will be used for the Main project.

  3. Check out the Main project recursively, and choose the "Build tree (override working dirs)" option.

  4. Check the Main project in recursively. The error will occur.


KBCategory: kbusage kbprb
KBSubcategory: SourceSafe
Additional reference words: 4.00 4.0a 4.00a 5.00
Keywords : SourceSafe kbprb kbusage
Version : 4.00 4.00a 5.00 | 4.00 4.00a 5.0
Platform : NT WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 27, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.