How To Change the Name of a Visual SourceSafe Database (175950)



The information in this article applies to:

  • Microsoft Visual SourceSafe for Windows 5.0
  • Microsoft Visual SourceSafe for Windows 6.0

This article was previously published under Q175950

SUMMARY

SourceSafe stores the names of previously opened databases in the registry of the client's workstation. Changing the database name involves both changing the Database_Name .ini variable in the srcsafe.ini, either by directly editing the srcsafe.ini or through the Visual SourceSafe administrator and then removing and re-adding the entry to the client's list of databases.

MORE INFORMATION

To change the name of a Visual SourceSafe database, do the following:

  1. Open the database in the Visual SourceSafe Administrator program.
  2. Set the Database name in the General Tab of the Tools\Options dialog box.
By doing this, you set the database name in the srcsafe.ini. This will be the default name that users see when they open a database for the first time. However, users are not required to use this name.

In the client machine's registry, Visual SourceSafe stores information concerning which databases a user has connected to. Therefore each user must perform the following steps to update their database list:

  1. Browse for the Database again and select the srcsafe.ini. To do this, go to the Visual SourceSafe Explorer and follow these steps:

    1. On the File menu, click "Open SourceSafe Database..."
    2. Click Browse.
    3. Navigate the Find Database dialog box and find the appropriate srcsafe.ini file.
    4. Click Open.
  2. You will be prompted to rename the database since it is already in the list.
The new Database name will be reloaded into the registry.

Modification Type:MinorLast Reviewed:3/11/2005
Keywords:kbFAQ kbhowto KB175950