Help and Support
 

powered byLive Search

PRB: "Only one database connection is supported at one time"

Article ID:203017
Last Review:May 1, 2001
Revision:1.0
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?"

Back to the top

CAUSE

There are different SCC_Aux_Path values in the Mssccprj.scc file for the different .vbp's.

Back to the top

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.

Back to the top

STATUS

This behavior is by design.

Back to the top

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:
1.The Srcsafe.ini is on a network share, where one SCC_Aux_Path is pointing to a UNC, and another is pointing to the same share using a mapped drive letter.The Srcsafe.ini is in a directory that does not comply to the DOS 8.3 naming convention, where one SCC_Aux_Path has the full path name, and another has a truncated (DOS-style) path.
2.The Srcsafe.ini is in a directory that does not comply to the DOS 8.3 naming convention, where one SCC_Aux_Path has the full path name, and another has a truncated (DOS-style) path.
The Mssccprj.scc file will look like the following:
SCC = This is a Source Code Control file

[Project1.vbp]
SCC_Aux_Path =C:\Program Files\Microsoft Visual Studio\Common\VSS,
SCC_Project_Name ="$/Project1", PCAAAAAA
				
NOTE: Do not edit the SCC_Project_Name, only change the SCC_Aux_Path entry to use the same path in each project.

Back to the top

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

Back to the top


APPLIES TO
Microsoft Visual SourceSafe 4.0 Standard Edition
Microsoft Visual SourceSafe 5.0 Standard Edition
Microsoft Visual SourceSafe 6.0 Standard Edition
Microsoft Visual Basic 5.0 Professional Edition
Microsoft Visual Basic 6.0 Professional Edition
Microsoft Visual Basic 5.0 Enterprise Edition
Microsoft Visual Basic 6.0 Enterprise Edition

Back to the top

Keywords: 
kbinterop kbprb KB203017

Back to the top

Article Translations

 

Related Support Centers

Other Support Options

  • Need More Help?
    Contact a Support professional by E-mail, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.