Microsoft KB Archive/161578

= BUG: Duplicate Entries Appear in Open Database Dialog Box =

Article ID: 161578

Article Last Modified on 4/18/2003

-

APPLIES TO


 * Microsoft SourceSafe

-



This article was previously published under Q161578



SYMPTOMS
Under certain conditions, you may notice that duplicate database entries appear in the Open SourceSafe Database dialog box. These entries contain identical path references and have a ~x appended to the end of the database name (where x is some integer). The following are examples of this type of duplicate entry:   Database Name                   Path ===================            =================   \\RIGEL\PHYDEAUX\               \\RIGEL\PHYDEAUX\ \\RIGEL\PHYDEAUX\~1            \\RIGEL\PHYDEAUX\ \\RIGEL\PHYDEAUX\~2            \\RIGEL\PHYDEAUX\ \\RIGEL\PHYDEAUX\~3            \\RIGEL\PHYDEAUX\



CAUSE
The problem occurs under the following two conditions:

Condition 1

All of the following three circumstances must exist:
 * 1) You added a database to the Open SourceSafe Database dialog box by typing in the path to the SRCSAFE.INI instead of locating the file with the Browse command.
 * 2) The database that you added is located on a network drive.
 * 3) You start the Visual SourceSafe Explorer by using the -s switch and pointing it to the database that you added.

Condition 2


 * 1) You start the Visual SourceSafe Explorer using the -s switch and pointing it to a database that does not yet appear in the Open SourceSafe Database dialog box. Each subsequent time you start the Visual SourceSafe Explorer using this method, a new duplicate entry is added to the Open SourceSafe Database dialog box.



RESOLUTION
If Condition 1 exists, use the Browse capabilities to locate the SRCSAFE.INI file instead of typing in the path.

If Condition 2 exists, make sure that the database referenced through the -s switch already resides in the list of available databases.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.



Steps to Reproduce Problem
Condition 1

 Open or switch to the Visual SourceSafe Explorer. On the File menu, click Open SourceSafe Database. Click Browse.  Type the complete UNC path to a SRCSAFE.INI file that resides on a server into the File text box. For example: \\RIGEL\PHYDEAUX\SRCSAFE.INI  Click Open (this closes the Find Database dialog box). Click OK to close the Browse for the Visual SourceSafe Database dialog box. Click Cancel to close the Open SourceSafe Database dialog box (this prevents the new database reference from becoming the default). Close the Visual SourceSafe Explorer.</li>  Create a shortcut or an icon with the following command line: :\VSS\win32\SSEXP.EXE -s<UNC Path to newly added database> where is the drive containing your Visual SourceSafe installation and <UNC Path to newly added database> is the UNC path to the Visual SourceSafe database added in steps 2, 3, and 4. </li> Start the Visual SourceSafe Explorer using the new icon or shortcut several times. Note that each time you start the Visual SourceSafe Explorer, an additional database reference is added to the Open SourceSafe Database dialog box.</li></ol>

Condition 2

<ol> Open or switch to the Visual SourceSafe Explorer.</li> On the File menu, click Open SourceSafe Database. Remove all database entries except the current database, and then close the Visual SourceSafe Explorer.</li>  Create a shortcut or icon with the following command line: :\VSS\win32\SSEXP.EXE -s<UNC Path to alternate database> where is the drive containing your Visual SourceSafe installation and <UNC Path to alternate database> is the UNC path to any Visual SourceSafe database (residing on a server) other than the current default (that is, the one that was left in the Open SourceSafe Database dialog box in step 2). </li> Start the Visual SourceSafe Explorer using the new icon or shortcut several times. Note that each time you start the Visual SourceSafe Explorer, an additional database reference is added to the Open SourceSafe Database dialog box.</li></ol>

Additional query words: tilde

Keywords: kbbug kbdss KB161578

-

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

© Microsoft Corporation. All rights reserved.