FIX: Admin Cannot See Files with Project Security Enabled

Last reviewed: December 18, 1997
Article ID: Q165776
The information in this article applies to:
  • Microsoft Visual SourceSafe, 32-bit, for Windows, version 5.0

SYMPTOMS

  1. The SourceSafe Admin does not see any files in a project in the SourceSafe explorer.

  2. The error message: "this command only works on projects" appears when doing various SourceSafe operations.

CAUSE

The rights.dat file is corrupted when you assign more than 16 users the rights (by project) to an individual project.

RESOLUTION

To prevent this from happening, either:

  • Turn off project security. This provides all users global-full or read-only access rights. With project security turned off, you can set read-only access by selecting the Read Only check box on the Users menu under Edit User in the Admin module.

    -or-

  • Limit user-right settings to 16 or less users per project.

Once the problem occurs, the rights.dat file has become corrupted and the entire user management and rights system must be rebuilt. For instructions on doing this, please contact Microsoft Technical Support.

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This bug has been corrected in Visual Studio 97 Service Pack 1.

For additional information about the Visual Studio 97 Service Pack 1, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q170365
   TITLE     : INFO: Visual Studio 97 Service Packs - What, Where, and Why

MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a new VSS database.

  2. Add at least 1 project and at least 1 file to that project.

  3. In the Admin program, add 16 users.

  4. Setup the users with any combination of rights (R,RC,RCA,RCAD) to the new project.

  5. At this point, Admin should still have access to the project.

  6. Add the 17th user and give him/her rights as well.

  7. Run SSEXP, login as Admin and try to view the file(s) in the project.


Additional query words: password missing administrator
Keywords : ssui VS97FixlistSP3 kbui VS97FixlistSP2 VS97FixlistSP1
Version : 5.0
Platform : WINDOWS
Issue type : kbbug
Solution Type : kbfix kbservicepack


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