HOWTO: Change the Name of a Visual SourceSafe Database

Last reviewed: October 30, 1997
Article ID: Q175950
The information in this article applies to:
  • Microsoft Visual SourceSafe, 32-bit, for Windows, version 5.0

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:

    A. On the File menu, click "Open SourceSafe Database..." B. Click Browse. C. Navigate the Find Database dialog box and find the appropriate

          srcsafe.ini file.
    
    D. 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.


Additional query words: registry rename
Keywords : ssui
Version : WINDOWS:5.0
Platform : WINDOWS
Issue type : kbhowto


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: October 30, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.