Table of contentsNo headers
NOTE: For an updated and expanded discussion of locks in Revit Server, see the PDF file attached to Managing Locks.
Model-level locks are employed by operations that require restricted access to the central file. For example, when one user is updating the central model during Synchronize with Central, other users must be kept from reading or writing this model at the same time. When a model-level lock is applied, users will encounter the following dialog when attempting to access the central model:
This condition generally clears quickly, within a few minutes.
If users report being unable to access a model for a longer period of time, it is possible that a model-level lock has been orphaned. To clear an orphaned lock:
- On the Revit Central Server, navigate to the 'Projects' folder and open the central model’s folder. Locate two files named “Data_Users.lock” and “Permissions_Users.lock.”
- Copy the two lock files to a temporary area.
- Determine which file is non-zero in size and view the copy that you made of that file with a text editor. (Occasionally both may be non-zero in size; in this case, view either file.)
- Note the first field, which indicates the user who created the lock. For example, the lock file below indicates that an individual with the Revit username “leemic” created the lock.
- If there is more than one entry in the file, identify all users except for the one in the first entry. Have each of these users cancel out of any in-progress operation and then save their changes locally.
- Identify the user in the first entry of the file. If that user is continuing to work with the model in question, have them Synchronize with Central and then shut down their Revit session.
- Delete both “Data_Users.lock” and “Permissions_Users.lock” from the central model’s model folder.
Revit Server will then release the model-level lock, restoring access to the central model for all users. (The two lock files will be automatically regenerated when needed.)