DuplicateMigrationException: Duplicate migration version 637163190176455422

6 months ago
Hello,

nopCommerce 4.3

The plugin "Plugin Name" not installed

FluentMigrator.Exceptions.DuplicateMigrationException: Duplicate migration version 637163190176455422.
   at FluentMigrator.Runner.DefaultMigrationInformationLoader.LoadMigrations()
   at FluentMigrator.Runner.MigrationRunner.GetUpMigrationsToApply(Int64 version)
   at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement)
   at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion)
   at Nop.Data.Migrations.MigrationManager.ApplyUpMigrations(Assembly assembly, Boolean isUpdateProcess) in C:\Users\Admin\Downloads\nopCommerce-develop\nopCommerce-develop\src\Libraries\Nop.Data\Migrations\MigrationManager.cs:line 185
   at Nop.Services.Plugins.PluginService.InsertPluginData(Type pluginType, Boolean isUpdateProcess) in C:\Users\Admin\Downloads\nopCommerce-develop\nopCommerce-develop\src\Libraries\Nop.Services\Plugins\PluginService.cs:line 193
   at Nop.Services.Plugins.PluginService.InstallPlugins() in C:\Users\Admin\Downloads\nopCommerce-develop\nopCommerce-develop\src\Libraries\Nop.Services\Plugins\PluginService.cs:line 466
6 months ago
Solution:
If you got above error then you just need to go your SchemaMigration.cs file and change something on bold number  on below line

[NopMigration("2020/02/03 09:30:17:6455423", "Plugin Name base schema")] 


Hope it will help you.

Thanks,
Jatin
4 months ago
forefront wrote:
Solution:
If you got above error then you just need to go your SchemaMigration.cs file and change something on bold number  on below line

[NopMigration("2020/02/03 09:30:17:6455423", "Plugin Name base schema")] 


Hope it will help you.

Thanks,
Jatin


This worked for me.  Thank you so much