Yesterday I’ve been busy installing the Beta 2 of Team Foundation Server 2010 to do some testing and to see if we can switch (yay go-live!). And in fact the installing went pretty smooth so the work Microsoft has been doing is really great.

Unfortunately when I decided it was time to move our Visual Source Safe database to TFS all went sour. The analysis of the VSS database with the VSSConverter tool worked but when I tried to migrate it just sat there and told me:

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

At first it seemed logical as the TFS is at http://ts01:8080/tfs so no worries there, just a bad config. Unfortunately there is no option in the configuration file to specify a full URL so basically I’m stuck. (small update: I tried to be clever and use URL redirection but it doesn’t work)

I’ve filed a bug on the Microsoft Connect site so if you’re having the same problem please vote for it so they’ll start to fix it.

Update 1: It seems that in Beta 1 the VSSConverter tool is unsupported. See the blog post from granth here, about half-way on the page

Update 2: Someone has been successful but with the VS2008 version of VSSConverter Nope, he was not.

Update 3: Matthew Mitrick (from Microsoft) has a good answer to this. You can read about it here.

The answer is that in the TFS 2010 Beta 2 there is a new feature called Collections. Unfortunately the documentation of VSSConverter has not been updated as there is a new configuration option to specify in which collection the projects should be migrated. So the solution is to add the option “collection” to the TeamFoundationServer element in the options.xml so it looks something like this:

<TeamFoundationServer name="myserver" port="8080" protocol="http"
collection="tfs/DefaultCollection"></TeamFoundationServer>

If you’ve installed TFS in another virtual directory than tfs you should modify the collection option accordingly. (Goes for the collection as well ;-) )