PRB: "Only one database connection is supported at one time"
This article was previously published under Q203017 SYMPTOMS
When saving or opening a Visual Basic Group file (.vbg) that contains two or more Visual Basic projects (.vbp) that are under source control, you receive the following message even though all Visual Basic projects are in the same Visual SourceSafe database:
"Only one database connection at a time is supported."
The following error message appears:
"The database is unavailable. Would you like to disable source control integration?"
CAUSE
There are different SCC_Aux_Path values in the Mssccprj.scc file for the different .vbp's.
RESOLUTION
This resolution is valid only when all Visual Basic projects are actually in the same SourceSafe database and this message still appears.
Manually edit the SCC_Aux_Path setting in the Mssccprj.scc file. This file is located in the same folder as the .vbp file. Make sure that the identical SCC_Aux_Path setting appears in all the Visual Basic projects' Mssccprj.scc, and that this is a valid path to the desired Srcsafe.ini file. The Mssccprj.scc is read only, so you should make it writable, then reset the read-only attribute after editing it. STATUS
This behavior is by design.
MORE INFORMATION
The SCC_Aux_Path is the path to the Srcsafe.ini file that Visual Basic uses to connect to the Visual SafeSource database. This error can occur if multiple SCC_Aux_Path's are pointing to different Srcsafe.ini files or to the same Srcsafe.ini, but using a different path. Two possible scenarios of the same Srcsafe.ini are:
NOTE: Do not edit the SCC_Project_Name, only change the SCC_Aux_Path entry to use the same path in each project.
REFERENCES
For additional information, please click the article number below
to view the article in the Microsoft Knowledge Base:
147585 (http://support.microsoft.com/kb/147585/EN-US/) INFO: The Mssccprj.scc File and How Is It Used
APPLIES TO
| Article Translations
|

Back to the top
