Monday, February 22, 2010

Converting SourceSafe Databases to Team Foundation Server 2010

If you've been trying to move your SourceSafe 2005 database to the new Team Foundation Server 2010 using the help found at http://msdn.microsoft.com/en-us/library/ms181247.aspx, you may have run into the following problem:

TF60070: Unable to connect to the Team Foundation Server: 'http://Servername:8080/'. Please ensure that the Team Foundation Server exists and try again.

With the new TFS 2010, you also need to include collection information in the tag. This is what our settings.xml file looked like when I finally got this to work:

<?xml version="1.0" encoding="utf-8"?>
<SourceControlConverter>
  <ConverterSpecificSetting>
    <Source name="VSS">
      <VSSDatabase name="c:\VSS"></VSSDatabase>
      <SQL Server="." />
    </Source>
    <ProjectMap>
      <Project Source="$/" Destination="$/SourceSafe Backup"></Project>
    </ProjectMap>
  </ConverterSpecificSetting>
  <Settings>
    <TeamFoundationServer name="servername" port="8080" protocol="http" collection="tfs/DefaultCollection"></TeamFoundationServer>
    <Output file="migration_Analysis.xml"></Output>
  </Settings>
</SourceControlConverter>


Hope this helps someone else!