This project has moved. For the latest updates, please go here.

Failed to migrate SourceSafe database. Version not found.

Nov 20, 2013 at 8:59 AM
I had same problem as: https://vsstosvn.codeplex.com/workitem/1373

Problem was caused by VSSItem.get_Version() throwing exception in Cyotek.SourceSafeSvnMigration.AddFileVersionToChangeset() because of some invalid version item in SourceSafe.

This exception should be handled separately, so it will not interrupt whole migration process. I was able to quick fix issue with:
  try
  {
      versionItem = vssFile.get_Version(vssVersion.VersionNumber);
      comment = versionItem.VSSVersion.Comment;
  }
  catch (Exception)
  {
      comment = "N/A";
  }
Coordinator
Nov 20, 2013 at 3:32 PM
Arvi,

Thanks for finding this one - I'll update the source code with this fix when I get a bit of free time, hopefully this weekend.

Thanks again for the fix!

Regards;
Richard Moss