Microsoft KB Archive/184357

= PRB: Visual C++ Opens Project in Wrong VSS Database =

Article ID: 184357

Article Last Modified on 5/7/2001

-

APPLIES TO


 * Microsoft Visual SourceSafe 4.0 Standard Edition
 * Microsoft Visual SourceSafe 4.0a
 * Microsoft Visual SourceSafe 5.0 Standard Edition
 * Microsoft Visual SourceSafe 6.0 Standard Edition
 * Microsoft Visual C++ 5.0 Enterprise Edition
 * Microsoft Visual C++ 5.0 Professional Edition

-



This article was previously published under Q184357



SYMPTOMS
When attempting to open a workspace from source control, the wrong database is displayed in the browse window.



CAUSE
When you attempt to open a workspace from source control, Visual C++ opens the database referenced by the following: HKEY_LOCAL_MACHINE\Software\Microsoft\SourceSafe = Value:   Current Database



RESOLUTION
Visual C++ can be forced to browse for a different database by using one of the two following methods:

  Browsing for the correct database (from within the Visual SourceSafe Explorer) and selecting the "Open this database next time I run Visual SourceSafe" check box. This sets the path listed below to the desired VSS database: HKEY_LOCAL_MACHINE\Software\Microsoft\SourceSafe = Value:   Current Database  Force Visual C++ to prompt the user to choose the correct database. In Developer Studio, from the Tools menu, select Options. Select the Source Control tab and then click the Advanced button. Choose the Integration tab and select the Prompt radio button in the "Choose SourceSafe Database" group.



STATUS
This behavior is by design.

Keywords: kbprb KB184357

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.