SourceSafe: “Only one database connection at a time is supported.”

I’ve been having intermittent problems with Visual Studio 2005 and SourceSafe 2005 occasionally complaining that “Only one database connection at a time is supported” when I load up solutions with multiple projects in them.

A Microsoft Knowledge-base article pointed me to the potential problem. Looking in the mssccprj.scc files forĀ  both .csproj files loaded in the solution, I spotted one of them had an extra entry for a .sln file as well as the .csproj file. Both of the SCC_Aux_Path variables for the .csproj definitions were the same so the knowledge-base fix wasn’t quite correct.

Removing the definition for the .sln file from the mssccprj.scc file has helped remove this problem. Saves doing the usual suggestion of ‘SourceSafe is screwed on your machine, you should get it reinstalled’.

If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

Comments

Correct. For each project I had to remove the solution entry in the mssccprj.scc file. In addition, my Visual Studio solution file was saving over at My Documents\Visual Studio 2008\Projects instead of the working folder. In Visual Studio click on Change Source Control and double check your bindings.

Thanks for that, it fixed it for me. After removing the .sln reference and making sure the URIs matched, I still had to remove and re-add the project to the solution for it to work.

Good stuff, thanks -

Leave a comment

(required)

(required)