Archive for February, 2010

Connection errors when migrating from Visual SourceSafe (VSS) to Team Foundation Server (TFS) using VSSConverter (Error TF31002)

image If you haven’t yet heard, the Release Candidate (RC) version of Visual Studio 2010 is now available to MSDN Subscribers.  Personally, I was waiting for this release to move my primary development environment over to the new version.  Overall, the installation and setup process was easy enough on two of my development machines.  The biggest problems I ran into were related to migrating my dozen or so development projects from Visual SourceSafe to Team Foundation Server.  I know I’m a bit behind the curve, but I’m an independent developer, and I was actually happy enough with VSS.

Using VSSConverter

The VSSConverter.exe utility is Microsoft’s command-line tool for migrating Visual SourceSafe repositories to Team Foundation Server.  The utility includes analyze and migrate modes and is driven by XML-based configuration files.  The process was simple enough and is documented in the following MSDN articles:

Migration Errors

The basic process went well until I got to the step of actually performing the migration.  That’s when I encountered the following dreaded TF31002 error:

image

I checked my server name, port, and other settings numerous times but still couldn’t get it to work.  Web searches provided some basic troubleshooting information, but nothing relevant to my issue.  All diagnostics that I ran (including the Best Practices Analyzer from the Team Foundation Server Power Tools) reported that everything was OK.

The Solution…

I finally stumbled upon the solution in an old bug reported via Microsoft Connect.  The defect report is titled VSSConverter cannot connect to the Team Foundation Server and offers the following problem description and solution:

When trying to migrate a Source Safe database to TFS2010 the VSSConverter tool exits with the following error:
TF60070: Unable to connect to the Team Foundation Server: ‘http://ts01:8080/’. Please ensure that the Team Foundation Server exists and try again.
The Team Foundation Server exists but at http://ts01:8080/tfs (default installation) The VSSConverter tool is unable to access this location.

UPDATE!
There is a new configuration option in the TeamFoundationServer element to specify the collection to which the sourcesafe database should be merged. It’s nowhere to be found in the documentation yet.
The solution is to add collection="tfs/DefaultCollection" to the TeamFoundationServer to specify which collection should be used.

After adding the “collection=” attribute, the migration worked flawlessly.  It took about an hour to transfer all of my code and versions, but everything looks good now.  The migration process could be simpler, but (if I’m lucky), I’ll only have to do this once.  I hope this helps some of you that might have run into the same problem.

Live Webcast: Data Center Cost-Efficiency, Security and Compliance

IT operations groups and datacenter managers are always searching for new ways to reduce costs while still meeting security, configuration, and compliance requirements.  Fortunately, there are numerous methods by which organizations can achieve these goals.  On February 25th, I’ll be presenting a free, live webcast on the topic of The 2010 Data Center: Driving Cost-Efficiency, Security and Compliance.  Here’s an overview of the topic from the webcast’s web site:

Thursday, February 25, 2010
10AM PST / 1PM EST

With the new decade comes new opportunity to implement the best technologies and practices for IT.  Join this FREE live webinar to learn how to cost-effectively plan, implement and manage a 21st century data center to drive greater efficiency, security and compliance.

You’ll hear from leading experts about ways organizations are leveraging technologies such as virtualization and configuration management to build flexible, resilient, cost-efficient and high-performing data centers for 2010.

Join now to:

• Get a blueprint to plan and implement IT best practices to modernize, consolidate, and secure your technology environment
• Hear how to cost-effectively drive improved security and compliance across your IT infrastructure while staying agile and competitive
• Learn about the benefits of a combined solution for configuration assessment with configuration change auditing for improved data center operations

imageimage 

The presentation is arranged by Focus.com and is sponsored by TripWire.  I’ll begin the presentation with an overview of technical best practices.  Then, Barak Engel from EAmmune will provide specific information on products, technologies, and approaches you can use to achieve these goals.  We’ll wrap up by taking live questions from the audience.  The entire webcast should last under an hour.