BUG: Long File Name Working Directory Not Created

Last reviewed: January 10, 1997
Article ID: Q154470
The information in this article applies to:
  • Microsoft Visual SourceSafe, 16-bit and 32-bit, for Windows, version 4.0, 5.0

SYMPTOMS

When a user checks out a file, Visual SourceSafe prompts to create a working directory with the same name as the project structure. The user then points to a location on an operating system that can only handle 8.3-character filenames. When the user clicks the "Yes" button, the following message appears:

   "Access to file .../SubProject" denied."

CAUSE

If there is no Working Directory explicitly set for a project in Visual SourceSafe and a user tries to checkout a file, Visual SourceSafe checks for a directory structure similar to the project structure in Visual SourceSafe. If the directory structure is not found, Visual SourceSafe attempts to create a directory structure similar to the project structure in Visual SourceSafe. When the 32-bit SourceSafe Explorer (WIN32\SSEXP.EXE) is run, Visual SourceSafe assumes that a Working Directory can be created with greater than 8.3 characters. It does not detect whether the operating systems can handle 8.3-character filenames.

WORKAROUND

  • When the "Directory ... SubProject not found , create?" dialog comes up, edit the Working Directory in the "To:" TextBox to be an 8.3-character or less subdirectory name.

    - or -

  • Run WIN\SSEXP.EXE.

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Using Windows NT or Windows 95 where the working directory is set to a shared directory on a Windows for WorkGroups computer is an example of a file system that cannot have directories or file names greater than the MS-DOS 8.3 naming convention.


KBCategory: kbprg kbbuglist
KBSubcategory: ssafe
Additional reference words: 4.00 5.00 kbdss vss



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: January 10, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.