The Team Foundation Visual SourceSafe converter tool transfers files, folders, version history, and user information from a Visual SourceSafe database to a Team Foundation source control server. Before you move your files and historical information to Team Foundation, you should analyze and make a backup copy of the database, check in as many files as possible, and understand what information cannot be transferred from Visual SourceSafe to Team Foundation.
This describes how to prepare your Visual SourceSafe database for conversion and how to use the VSSConverter to effectively plan for the actual migration of the source.
In this walkthrough, you will accomplish the following tasks:
To complete this walkthrough, you need the following software installed on the computer where you plan to run VSSConverter.exe:
Note By default, SQL Server Express is installed during installation of Visual Studio 2005 Team System.
Additionally, you need:
Note Other users should not access the Visual SourceSafe database during the analysis process. Do not lock the database because locking prevents the converter from accessing the database for migration.
Before you transfer your source-controlled files from Visual SourceSafe to Visual Studio 2005 Team System, complete the following tasks in Visual SourceSafe.
VSSConverter.exe is a command-line tool that requires the following input:
This walkthrough assumes that your Visual SourceSafe database is in c:\VSSDatabase.
After you have decided which projects you want to analyze, create a file to contain the settings. This file lists the projects that you want the converter to analyze.
<?xml version="1.0" encoding="utf-8"?><SourceControlConverter> <ConverterSpecificSetting> <Source name="VSS"> <VSSDatabase name="c:\VSSDatabase"></VSSDatabase> </Source> <ProjectMap> <Project Source="$/FolderA"></Project> <Project Source="$/FolderB"></Project> </ProjectMap> </ConverterSpecificSetting></SourceControlConverter>
Tip To migrate the whole database, use <Project Source="$/"></Project>.
Next, run the converter tool from the Visual Studio command prompt to analyze the project, as shown in the following steps.
The user who is performing the analysis must be a system administrator for SQLExpress. By default, the user who installs Visual Studio will receive the required privileges for SQLExpress.
After you have the migration settings file and granted system administrator rights, you can run the converter tool to analyze the project.
VSSConverter Analyze settings.xml When you are prompted, provide the Visual SourceSafe administrator password. The converter tool displays the status of the preconversion analysis. When it is completed, it generates a report (VSSAnalysisReport.xml) and a user mapping file (usermap.xml), and saves them in the current directory.
VSSConverter Analyze settings.xml
When you are prompted, provide the Visual SourceSafe administrator password.
The converter tool displays the status of the preconversion analysis. When it is completed, it generates a report (VSSAnalysisReport.xml) and a user mapping file (usermap.xml), and saves them in the current directory.
You can now migrate the information in your Visual SourceSafe database into the Team Foundation source control server.
Hi, (Responding to previous comment)
Without more information it's hard to diagnose this error. I would first check the accounts you are using to be sure they have sufficient permissions for Visual SourceSafe and Team Foundation. Also I would check that SQL Express is configured correctly. For more information see How to: Set Up SQL Express for Migration. You could also try migrating incrementally to see if that works around the problem. For more information, see How to: Incrementally Migrate to Team Foundation.
If you are still stuck, the best place to look for information and get answers is the Visual Studio Team System forums (http://forums.microsoft.com/MSDN/default.aspx?ForumGroupID=5&SiteID=1).
Hope this helps,
David Chesnut[MSFT]
Content Lead