I'm trying to convert a small project from VSS 2005 to TFS 2010 and all works well except all history is not converted. I'm following the walkthrough from http://msdn.microsoft.com/en-us/library/ms253060.aspx (Migrate from Visual SourceSafe - Visual Studio 2010) very closely.
I backup one small project from a huge VSS database to my local machine, prepare the settings.xml file, run VSSConverter in analysis and then in migration modes and the code ends up in TFS, the projects structure is correct, just the history is not there.
After conversion, I have a number of errors in the VSSConverter.log file which look like this:
[VSS, Error, 3, 2012/01/04 14:48:02.159] Exception: System.Runtime.InteropServices.COMException
Message: File or project not found
Stack Trace: at Microsoft.VisualStudio.SourceSafe.Interop.IVSSItem.get_Versions(Int32 iFlags)
at Microsoft.TeamFoundation.Converters.VersionControl.Vss.VssWrapper.ReadHistoryItemNoRecursive(ItemInfo itemInfo, Int32 flags, String spec, String name, Boolean type, Boolean deleted, Boolean isPinned, Int32 pinnedVersion, Boolean writeToDB)
at Microsoft.TeamFoundation.Converters.VersionControl.Vss.VssWrapper.PutInfoInDB(ItemInfo itemInfo, Boolean isMigrate)
Help Link: ssusexp.hlp#10609
BaseExceptionMessage: File or project not found
I tried to search for more info on these errors but there's not much information. Had anyone seen these errors?
Thanks.
I think I found out what I was doing wrong and can now reproduce the behaviour. My original VSS database has the following structure
and so on. If I backed up and restored Project11 to an empty VSS db I hade the following:
Now, when I placed
into my settings.xml, I was losing history, even though all code was converted properly. When I changed that to
all history gets converted. Maybe that helps someone. :)