Knowledge Base |

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

Article ID: 123476

Article Last Modified on 12/11/2001

APPLIES TO

- Microsoft Visual SourceSafe 5.0 Standard Edition
- Microsoft Visual SourceSafe 6.0 Standard Edition
- Microsoft Visual SourceSafe 4.0 Standard Edition
- Microsoft Visual SourceSafe 4.0 Standard Edition

This article was previously published under Q123476

## 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 or later, 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

Keywords: kbnetwork kbprb KB123476