PRB:SoureSafe "Error locking file" on Windows NT or Multi-User

Last reviewed: February 25, 1997
Article ID: Q123476
The information in this article applies to:
  • Microsoft Visual SourceSafe, versions 4.0, 5.0
  • SourceSafe for MS-DOS, versions 2.0x, 3.0x
  • SourceSafe for Windows, versions 2.0x, 3.0x
  • SourceSafe for Macintosh, versions 2.0x, 3.0x
  • SourceSafe for Windows NT, versions 2.0x, 3.0x
  • SourceSafe for UNIX, versions 2.0x, 3.0x

SYMPTOMS

The following error can occur when running SourceSafe on Windows NT or in a multi-user environment:

   Error locking file

RESOLUTION

Correct this behavior by changing a setting in the SRCSAFE.INI. In version 3.0, edit the SRCSAFE.INI, which is located in the SS directory, to add:

      lock_mode = lockfile

In version 2.x, edit the SYSTEM.INI file in the SS directory to add:

      lock_mode = pedantic


KBCategory: kbnetwork kbenv kbprb
KBSubcategory: SourceSafe vss vbwin
Additional reference words: 3.0x 2.0x 4.00 5.00




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