Hello,
I am in the process of upgrading my EpiServer CMS 7.13.2 & Commerce 7.11 to their latest versions. To start with, I have upgraded the CMS -> 8.11 and Commerce -> 8.0 and after running the update-epidatabase in the console, now website results in an infinite loop. It loads the landing page and keeps refreshing trying to redirect to /Episerver/Commerce/Migrate
I have tried the auto migration by enabling it as below but still no luck.
<add key="AutoMigrateEPiServer" value="true"/>
Is there any other way to disable redirect to the migration page from the login page or manually perform the migration step?
Edit:
For now, in the dev environment, I have forced a login & moved forward. But now I am getting the following error when during the migration.
Update permanent links failed with exception 'System.InvalidOperationException: ExecuteNonQuery:
CommandText property has not been initialized
at System.Data.SqlClient.SqlCommand.ValidateCommand(String method, Boolean async)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at EPiServer.Commerce.Internal.Migration.Steps.UpdatePermanentLinkStep.UpdatePermanentLink(Int32 objectId, CatalogContentType contentType, Guid guid)
at EPiServer.Commerce.Internal.Migration.Steps.UpdatePermanentLinkStep.MigratePermanentLinks(Dictionary`2 references, IProgressMessenger progressMessenger)
at EPiServer.Commerce.Internal.Migration.Steps.UpdatePermanentLinkStep.Execute(IProgressMessenger progressMessenger)'.