Exception when enabling 301 redirects module
Closed this issue · 2 comments
peterkeating commented
Issue is related to an exception within the data migration.
2019-03-22 15:07:20.9564|Default|0HLLER042K18S:00000004||OrchardCore.Data.Migration.DataMigrationManager|ERROR|Error while running migration version 1 for 'Moov2.OrchardCore.SEO.Redirects'. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.MissingMethodException: Method not found: 'YesSql.Sql.SchemaBuilder OrchardCore.Data.Migration.DataMigration.get_SchemaBuilder()'.
at Moov2.OrchardCore.SEO.Redirects.Migrations.UpdateFrom1()
--- End of inner exception stack trace ---
peterkeating commented
peterkeating commented
Adding reference to OrchardCore.Data.Abstractions
fixed the issue 👍