PRB: Visual SourceSafe Journal File Not Updated

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

SYMPTOMS

Under certain circumstances, the Visual SourceSafe Journal File may not be updated properly. This will occur if multiple users attempt an action simultaneously that would modify the Journal File, such as Checking in, Updating, or Checking out a file.

RESOLUTION

If you are presented with a dialog box that indicates the Journal File is locked, you can ensure that a Journal Entry is made by repeating the current action until the dialog no longer appears. For example, if you are Checking in a file and you get the aforementioned dialog box, check the file back out and check it in again.

STATUS

This behavior is by design.

MORE INFORMATION

When multiple users attempt to write to the Journal File at the same time, one user will be given a lock on the file. The others will be presented with a dialog box indicating that the Journal File is in use. This dialog box contains OK and Help Command buttons. Choosing OK will cause the requested action to take place without updating the Journal File. This causes entries to be missing from the Journal File.

Steps to Reproduce Behavior

  1. Open or switch to the Microsoft Visual SourceSafe Admin Utility.

  2. Using the Admin Utility, configure Visual SourceSafe to maintain a Journal File.

  3. Close the Admin Utility.

  4. Open or switch to Microsoft Visual SourceSafe.

  5. From two or more workstations, have two or more users attempt to Check in, Update, or Check out a file simultaneously (this does not have to be the same action or the same file).

  6. One user should get a lock on the Journal File while the others are presented with a dialog box indicating that the Journal File is locked. The users presented with the latter dialog box should choose the OK command button.

  7. Open the Journal File. Note that the file will contain an entry describing the action done by the user who was able to lock the Journal File. Check the history of the files accessed by the other users. Note that the history shows the requested action of the other users. The Journal File will not contain a reference to this action.


KBCategory: kbprg kbprb
KBSubcategory: ssafe
Additional reference words: 4.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: January 6, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.