This project has moved and is read-only. For the latest updates, please go here.

Failed to migrate SourceSafe database. Version not found.

Nov 20, 2013 at 9:59 AM
I had same problem as:

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:
      versionItem = vssFile.get_Version(vssVersion.VersionNumber);
      comment = versionItem.VSSVersion.Comment;
  catch (Exception)
      comment = "N/A";
Nov 20, 2013 at 4:32 PM

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!

Richard Moss