Click here to Skip to main content
15,867,833 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am tasked with converting a .Net application from VSS to TFS (staying with Visual Studio 2008 for now) using VSSConverter.exe. I have followed the instructions (and sub-instructions) at http://msdn.microsoft.com/en-us/library/ms181247(v=vs.90).aspx. I was using the VS10 version of VSSConverter.exe, and was able to perform the initial analysis successfully, but when I got to the actual conversion I got the error:

This pre-release of VSSConverter does not support migrating to Team Foundation Server 2005 or 2008.

After much research to no avail, I loaded in VS Team System 2008 and its respective SP1 to get the 9.0 VSSConverter.

When the converter is in its original location (C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE), I get:

'VSSConverter' is not recognized as an internal or external command,
operable program or batch file.

When VSSConverter is placed in the same folder as the settings.xml file, the error is (having followed an online suggestion), It seems to at least recognize the converter:

The type initializer for 'Microsoft.TeamFoundation.Converters.VersionControl.Com
mon.HatterasWrapper' threw an exception.

This is true for either command:

C:\VSS2TeamFoundation>VSSConverter Analyze settings.xml
Or…
C:\VSS2TeamFoundation>VSSConverter Migrate migration_settings.xml


In the VSSConverter.log file, I find:

[Common, Warning, 3, 2012/09/20 14:44:17.401] Version : 9.0.21022.8
[VSS, Error, 3, 2012/09/20 14:44:17.463] Exception: System.TypeInitializationException
Message: The type initializer for 'Microsoft.TeamFoundation.Converters.VersionControl.Common.HatterasWrapper' threw an exception.
Stack Trace: at Microsoft.TeamFoundation.Converters.VersionControl.Common.HatterasWrapper..ctor()
at Microsoft.TeamFoundation.Converters.VersionControl.Common.Converter..ctor()
at Microsoft.TeamFoundation.Converters.VersionControl.Vss.VssConverter.MainThread()
Help Link:
BaseExceptionMessage: Could not load file or assembly 'Microsoft.TeamFoundation.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
InnerException: System.IO.FileNotFoundException
InnerException Message: Could not load file or assembly 'Microsoft.TeamFoundation.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
InnerException Stack Trace: at Microsoft.TeamFoundation.Converters.VersionControl.Common.ConflictCache..ctor()
at Microsoft.TeamFoundation.Converters.VersionControl.Common.HatterasWrapper..cctor()
InnerException Help Link:
InnerExceptionBaseExceptionMessage: Could not load file or assembly 'Microsoft.TeamFoundation.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
I’ve searched your website and many others and tried multiple things without success. Would greatly appreciate answers on how to fix this.
Posted
Comments
[no name] 21-Sep-12 11:18am    
Since this is a Microsoft product and you want support for that product, you really should be asking Microsoft support for help with their products.
Brian Fay 24-Sep-12 9:11am    
Microsoft no longer supports this method of conversion.

1 solution

My suggestion would be not to use the converter, but rather to create a static "starting" version of your solution and then simply check that solution into TFS as a new solution. Keep a backup of the old solution in VSS as a backup just in case as your new TFS solution wouldn't maintain the history of the VSS project. Much cleaner this way and you'll have a chance to forensically go through the solution before checkin and clean up old residual crap that inevitably finds its way into projects over time.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900