Microsoft KB Archive/279184

= FIX: Multiple Checkout Setting Disables Checkout Option =

Article ID: 279184

Article Last Modified on 8/7/2007

-

APPLIES TO


 * Microsoft Visual SourceSafe 6.0 Standard Edition

-



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:

http://msdn2.microsoft.com/en-us/vstudio/Aa718353.aspx

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.



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

[$/TestChkOut]

 On the line after the project header, type:

Multiple_Checkouts = Yes

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

<div class="references_section">