I want to migrate to BC24.2 from BC20.1but I am getting error in the Start-NAVAppDataUpgrade step for Base Application.
I have published and synced my System Application, Business Foundation, Base Application and Application app.
I have already done the Start-NAVAppDataUpgrade for System Application and Install-NAVApp for Business Foundation.
Then I am trying to Start-NAVAppDataUpgrade for Base Application.
I am getting the following error while running the command Start-NAVAppDataUpgrade -ServerInstance BC24 -Name "Base Application" -Version 24.2.20227.20424
Error:- Could not upgrade the extension 'Base Application' by 'Microsoft' from version '20.1.39764.39901' to '24.2.20227.20424' for tenant 'default' and company 'PF De Villers' due to the following error: 'An unexpected error occurred
after a database command was cancelled.' and AL stack trace:
"Update VAT Date Field"(CodeUnit 104051).DataTransferGLEntries line 9 - Base Application by Microsoft
"Update VAT Date Field"(CodeUnit 104051).UpdateGLEntries line 25 - Base Application by Microsoft
"Update VAT Date Field"(CodeUnit 104051).OnUpgradePerCompany line 3 - Base Application by Microsoft
"Upgrade Triggers"(CodeUnit 2000000008).OnUpgradePerCompany(Event) line 2
At line:1 char:1
+ Start-NAVAppDataUpgrade -ServerInstance BC24 -Name "Base Applica ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (Start-NA...t) line 2
:String) [Start-NAVAppDataUpgrade], InvalidOperationException
+ FullyQualifiedErrorId : navId,Microsoft.Dynamics.Nav.Management.StartNAVAppDataUpgrade
how do I proceed further. Any help would be appreciated