Visual SourceSafe 6.0

© 1998 Microsoft Corporation. All rights reserved.

Other product and company names herein may be the trademarks of their respective owners.

Visual SourceSafe® Readme includes updated information for the documentation provided with Microsoft® Visual Studio™ — Development System for Windows® and the Internet. The information in this document is more up-to-date than the information in the Help system.

Contents - Click any of the items below

Known Problems

Installing to a Novell NetWare Server

Corrected Documentation Text

MBCS/DBCS Users

Getting Started
Before You Run Setup
Installation
Installation Options
Installing Visual SourceSafe Standalone Version
Installing Visual SourceSafe from Visual Studio
Installing Multiple Versions of Visual Studio 6.0 Products "Side-by-Side" on the Same Computer
(Individual Users) Using Netsetup to Create a Personal Installation
Upgrading a Database After Installing
Deleting VSS
General Notes and Tips
NEW New Features in VSS 6.0
Maintaining Your VSS Database
Loss of Network Connection Produces Numerical Error Message
System Date/Time
Using the Command Line After Running a Client Setup
Details on Defining a Shadow Directory in Visual SourceSafe
Running Netsetup from a Windows NT Server Using Windows 95
VSS Home Page
Microsoft Knowledge Base
VSS Newsgroup

Visual SourceSafe Known Problems

Installing to a Novell NetWare Server

Novell NetWare servers can be configured to handle 8.3 file names or greater than 8.3 file names. If the Novell NetWare server can only handle 8.3 file names, the regular Visual Studio installation process will not be able to install to the Novell NetWare server. To install to a Novell NetWare server that can only handle 8.3 file names use the following steps.

To install from the Visual Studio CDs

  1. Insert Disk 2.
  2. Change to the VSS_SS\ folder.
  3. Run the following command: setup.exe /F
  4. Choose the 'Server Applications' option.
  5. When prompted for the installation location, be sure to change it to the Novell NetWare Server.

To install from the Visual SourceSafe standalone CDs

  1. Insert the Visual SourceSafe CD.
  2. Run the following command: setup.exe /F

Corrected Documentation Text

Difference for File Dialog Box topic — In the Dialogs section of the Visual SourceSafe documentation, the first paragraph in the Remarks section is incorrect.

In the File History Options Dialog Box topic of the Visual SourceSafe Documentation, the first sentence of the Labels section is incorrect.

In the Advanced Check Out Options Dialog Box topic of the Visual SourceSafe Documentation, the Replace option is incorrect.

In the Advanced Check Out Options Dialog Box topic of the Visual SourceSafe Documentation, the End of Line option has been removed.

In the Advanced Get Options Dialog Box topic of the Visual SourceSafe Documentation, the End of Line option has been removed.

MBCS/DBCS Users

VSS 6.0 handles MBCS (Multi-byte character systems) and DBCS (Double-byte character systems) differently than in earlier versions of VSS. If you are upgrading an existing installation of VSS that has a file called SSUD.dll, please rename it so that VSS 6.0 will not recognize it. For example, rename the file to SSUD.bak. If you do not rename it, you may have trouble in the IME with font association (FA) turned off or it may generate GPFs when dialogs new to VSS 6.0 are displayed.

Getting Started

Before You Run Setup

Installation

Installation Options

General Notes

The source code control database maintained by VSS must be on a drive that is accessible to all users working on projects controlled by VSS. The most versatile method of working with VSS is to perform a server installation to a network drive, and a netsetup installation on each workstation.

Upgrading an Older Version of SourceSafe to Version 6.0

You will be prompted to replace an existing installation if found. This is recommended, but you can choose an alternate path and then maintain two different databases, one in the old format and one in the new format, on the same computer.

Note   Make sure you backup the database first, before you upgrade.

You will be prompted to convert your database to the new format for faster performance. You should only do this if:

VSS Database Administrators Note About Netsetup

Be aware that a full VSS license is required for each user of SourceSafe. If you have 100 people using your VSS database, you need to purchase 100 Visual SourceSafe licenses to avoid violating copyright law.

The version 6.0 Netsetup program requires a CD-Key before it will install the Visual SourceSafe client software to a client machine. To make sure your clients can run Netsetup successfully, give a CD-Key from one of your licensed boxes to each user you recommend Netsetup to. It is acceptable to reuse the same CDKey for everyone running Netsetup, but you are still required to have an individual license on hand for every user.

Installing Visual SourceSafe Standalone Version

To install Visual SourceSafe standalone version as the Administrator (Admin)

  1. Install Visual SourceSafe on the shared server first.
  2. Use the Admin tool to create user accounts in the shared database.
  3. Set up security as appropriate for the users of the database.
  4. Tell your users where to find Netsetup (if those users are licensed).

To install Visual SourceSafe standalone version as a Client

Installing Visual SourceSafe from Visual Studio

This includes Visual Studio, Visual C++ Enterprise version, and Visual Basic Enterprise version.

Admins   If you are setting up a shared server, go to the Server Applications page of the Visual Studio installation and run VSS Server setup from there. This will create a database for sharing and install a setup program for licensed users to install the Visual SourceSafe client program (using Netsetup).

Clients   The Visual Studio client setup will install a standalone version of Visual SourceSafe and integrate it with the development environment and other environments.

Important: Back up your existing VSS database before upgrading!

Installing Multiple Versions of Visual Studio 6.0 Products "Side-by-Side" on the Same Computer

Visual Studio products with the same version and in the same language—Visual C++ and Visual Basic version 6.0 in English, for example—can be installed separately on the same workstation. Such installations are supported by Microsoft. The Visual Studio 6.0 Installation Wizard detects if other versions of the 6.0 product line have been installed on a developer's workstation.

Mixing different language versions, point releases, or product tiers on the same workstation is generally not supported. This means that the installation may fail, one or more of Visual Studio 6.0 products may not work even if the installation succeeds, or in the worst case you may not be able to uninstall any of the products completely.

If the Wizard generates a warning during installation, the safest course of action is to uninstall the Visual Studio 6.0 product before proceeding. The detection scheme checks for the following scenarios:

(Individual Users) Using Netsetup to Create a Personal Installation

After an administrator has created a VSS installation on the server, users can run Netsetup to copy the VSS executables to their hard disk.

To install using Netsetup

  1. In Windows Explorer, navigate to the main folder containing the VSS Server installation.
  2. Double-click on NETSETUP.EXE.
  3. Follow the instructions in the Installation Wizard, using [Change Folder] to change the default installation path if you wish
  4. .

Warning to Administrators   All users must posess an individual VSS license to install and/or use the product, including anyone running Netsetup. Netsetup is provided as a convenience, but the Administrator should make sure s/he obtains an individual license for each person that installs and uses the product.

Upgrading a Database After Installing

If you were prompted to upgrade your database to the new 6.0 format and you said Yes, you now have a 6.0 database and can take advantage of label promotion and enjoy performance enhancements. If you weren't prompted or you said No to the prompt and you now want to upgrade your database, run the DDUPD.exe command line utility, which exists in the \win32 directory of your VSS 6.0 Server installation. (So you can either go to that directory and run it or add that directory to your path and run it.) We recommend you only run DDUPD when everyone has exited VSS. The syntax is:

DDUPD <path to data folder> [-undo] [-redo]

To upgrade a 5.0 database, for example, you would run:

DDUPD \\server\share\vss\data

To undo an upgrade, going back to the 5.0 format and stop taking advantage of the performance enhancements and label promotions:

DDUPD \\server\share\vss\data -UNDO

To redo the upgrade process on a database that is already in the new format, you would run:

DDUPD \\server\share\vss\data -REDO

Deleting VSS

If you delete a VSS installation (including the database) and then attempt to run SETUP, setup may try to install VSS in the Recycle bin (if the old database is found here). This only takes places if the Recycle bin hasn't recently been emptied. To remedy the problem:

  1. Empty the Recycle bin.
  2. Run SETUP again and verify that the default directory for VSS is no longer the Recycle bin.

General Notes and Tips

New Features in VSS 6.0

Microsoft VSS 6.0 adds many new features. Some of the highlights include:

Maintaining Your VSS Database

It is still advisable to back up the drive where your VSS database resides on a regular basis. Note it is important to use full backups, not incremental or differential backups, to avoid problems.

In addition, you should run the ANALYZE program periodically to maintain database integrity. If a corruption is found, the ANALYZE program can usually repair the problem. Updates to the ANALYZE tool are posted periodically to the VSS web site, http://www.microsoft.com/ssafe. You may wish to check that site to see if there is a version of ANALYZE more recent than the one shipped with this product. To run ANALYZE, click the Start menu, point to Programs, Microsoft Visual Studio, and then Visual SourceSafe.

Note   It is always advisable to run ANALYZE and back up older databases before upgrading them to the 6.0 format.

Loss of Network Connection Produces Numerical Error Message

If you are using VSS on a remote database and you lose your connection to the server, the following error will occur:

"unknown error - 20038," (or similar)

If you see this error, you have lost your network connection.

To correct the situation:

  1. Restore your network connection.
  2. Restart VSS to continue your work.

System Date/Time

VSS uses the date/time, which your local computer stores. If your computer is out of sync with another computer, unpredictable results may occur. For instance, you may check in a file after someone else, but VSS may think your checkin happened first, because your system clock was off!

The best solution for this problem is to synchronize your local date/time with the network on a regular basis. This will ensure that all users are in sync. With Windows NT this can be done with a Domain Time Source Server. Please check the http://www.novell.com/ site for information on time synching with Novell NetWare servers.

Using the Command Line after Running a Client Setup

When working at the Command Line, if you get a message stating "No VSS database (SRCSAFE.INI) found. Use the SSDIR environment variable or run netsetup.", set the SSDIR variable. This will tell VSS where to find the SRCSAFE.INI file for the VSS server installation to which you want to connect. You can do this by typing the following at the MS-DOS prompt:

set ssdir=\\server\share\vss

Where \\server\share\vss is the folder where the srcsafe.ini file is located.

Note   Do not put a space between the equal sign and the location of the VSS server installation. For example, the following will not work:

set ssdir= \\server\share\vss.

Details on Defining a Shadow Directory in Visual SourceSafe

A shadow directory is a live mirror (on the file-system) of the project(s) in the Visual SourceSafe (VSS) database.

For a shared database, you must set up the shadow directory with a UNC path, such as \\Server\Share\Shadow, to avoid failure when changes are made from a computer other than the one used to setup the shadow. Make sure the UNC contains no long names, just 8 character short names for the \\Server\Share\ROOT portion.

For example, instead of defining the shadow directory as D:\VSSShadow, you can define the shadow directory as: \\server\D\Shadow.

Confirm that all the Visual SourceSafe users have read/write access to the UNC directory.

Running Netsetup from a Windows NT Server Using Windows 95

Due to a problem Windows 95 has accessing some programs on Windows NT Servers via a UNC that contains long names, it is advised to create a Network share on the Windows NT Server that points directly to the VSS location on the servers disk drive, and to avoid long names in the Server and Share names as well.

For instance, if VSS is installed to:

D:\Program Files\Microsoft Visual Studio\Common\VSS

You could provide users access to it by setting:

D:\

shared as

\\Long Server Name\Long Share Name

And they would then access it with:

\\Long Server Name\Long Share Name\Program Files\Microsoft Visual Studio\Common\Vss\Netsetup.exe

The long names will cause Windows 95 machines to fail when the server is a Windows NT machine.

Instead, set it up with:

D:\Program Files\Microsoft Visual Studio\Common\VSS

shared as

\\Server\VSSShare

In this way, users may access Netsetup.exe with the following short UNC:

\\Server\VSSShare\Netsetup.exe

VSS Home Page

Microsoft VSS has a home page on the Internet. This home page features a variety of information including articles on VSS, a self-running demo that you can download and run, a collection of helpful VSS utilities, and much more. The URL for the home page is: http://www.microsoft.com/ssafe.

Microsoft Knowledge Base

If you encounter problems or have questions not addressed here or in the online documentation, you may want to search the Microsoft Knowledge Base at http://support.microsoft.com/support. The Knowledge Base is also available on MSDN Library Visual Studio 6.0, included on CD-ROM with Visual SourceSafe.

VSS Newsgroup

You can exchange information with other VSS users by visiting the microsoft.public.visualsourcesafe newsgroup on the internet. This newsgroup is on the msnews.microsoft.com server. Please note that Microsoft does not provide support for messages posted to the newsgroup.