System.Exception: Type VstsSyncMigrator.Engine.WorkItemMigrationContext not found

105 views Asked by At

enter image description here

I am using the version of 11.5.17.0 and facing the error while running the json file as follows. Please check the attcahed file aslo.

Error : System.Exception: Type VstsSyncMigrator.Engine.WorkItemMigrationContext not found. at MigrationTools.Engine.Containers.ProcessorContainer.Configure() in D:\a\1\s\src\MigrationTools\Engine\Containers\ProcessorContainer.cs:line 60 at MigrationTools.MigrationEngine.Run() in D:\a\1\s\src\MigrationTools\MigrationEngine.cs:line 85 at MigrationTools.ExecuteHostedService.b__6_1() in D:\a\1\s\src\MigrationTools\ExecuteHostedService.cs:line 45 [17:05:56 INF] Application is shutting down... [17:05:56 INF] Application Ending [17:05:56 INF] The application ran in 00:00:01.9911715 and finished at 10/09/2020 17:05:56

1

There are 1 answers

2
MrHinsh - Martin Hinshelwood On

It looks like you are using an outdated configuration.json format.

Changed config design to have only the Name and not FullName of the class. Remove MigrationTools.Core.Configuration.FieldMap. and MigrationTools.Core.Configuration.Processing. from the config leaving only the Name of the class in ObjectType field.

This was updated in v10.1 and the easiest way to get around it is to create a new empty config using migrator.exe init and then port your customisations into the new format.