FIX: Multiple Checkout Setting Disables Checkout Option (279184)



The information in this article applies to:

  • Microsoft Visual SourceSafe for Windows 6.0

This article was previously published under Q279184

SYMPTOMS

When you enable multiple checkouts for each project, and someone checks out the file, the Checkout option is disabled for other users.

RESOLUTION

To resolve this problem, download Visual Studio 6.0 Service Pack 5 from the following Microsoft Web site:

WORKAROUND

To work around this problem, follow these steps:
  1. Right-click the project, and click Checkout.
  2. Use the command line to check the file out to multiple users.
  3. Right-click the file, and then click Edit. Under Admin, select the Allow multiple checkouts check box so that multiple users can check out the file.
  4. Open Srcsafe.ini, and type Multiple_Checkouts = No in the headers of all the projects that the user wants to check out exclusively.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

This bug was corrected in Visual Studio 6.0 Service Pack 5.

MORE INFORMATION

Steps to Reproduce Behavior

  1. In Visual SourceSafe 6.0 Admin, on the Tools menu, click Options.
  2. On the General tab, make sure that the Allow Multiple Checkouts check box is cleared, and then click OK. Exit VSS 6.0 Administrator.
  3. In Visual SourceSafe 6.0 Explorer, create a project named $/TestChkOut, and then add a file to this project. Close VSS 6.0 Explorer.
  4. Open the Srcsafe.ini file that corresponds to the VSS database.
  5. At the end of Srcsafe.ini, add a project header for $/TestChkOut as follows:

    [$/TestChkOut]

  6. On the line after the project header, type:

    Multiple_Checkouts = Yes

  7. Save and then close Srcsafe.ini.
  8. In Visual SourceSafe 6.0 Explorer, check out the file in $/TestChkOut.
  9. On the File menu, click Open SourceSafe database. Type a different user name in the Username text box, and then click Open.
  10. Right-click the file in $/TestChkOut. Notice that the Checkout option is unavailable (grayed out).
  11. Click the file in $/TestChkOut. On the SourceSafe menu, notice that the Checkout option is unavailable (grayed out).

REFERENCES

For additional information about how to set up multiple checkout for each project, click the article number below to view the article in the Microsoft Knowledge Base:

138475 HOWTO: Set Up Multiple Check Outs on a Project Basis


Modification Type:MajorLast Reviewed:9/25/2006
Keywords:kbBug kbfix kbSSafe600fix kbSSExplorer kbVS600sp5fix KB279184