I'm upgrading from BC14 to BC20. At the very end step where we run the upgrade command for Base Application for example:
Start-NAVAppDataUpgrade -ServerInstance BC200 -Name "Base Application" -Version 20.0.37253.38230
I'm getting an error at this step:
Could not upgrade the extension 'Base Application' by 'Microsoft' from version '18.104.22.168' to '20.0.37253.38230' for tenant 'default' and company
'KNS Partners' due to the following error: 'An unexpected error occurred after a database command was cancelled.' and AL stack trace:
"Upgrade - BaseApp"(CodeUnit 104000).UpgradeJobShipToSellToFunctionality line 51 - Base Application by Microsoft
"Upgrade - BaseApp"(CodeUnit 104000).OnUpgradePerCompany line 46 - Base Application by Microsoft
"Upgrade Triggers"(CodeUnit 2000000008).OnUpgradePerCompany(Event) line 2
At line:1 char:1
+ Start-NAVAppDataUpgrade -ServerInstance BC200 -Name "Base Application ...
+ CategoryInfo : InvalidOperation: (:) [Start-NAVAppDataUpgrade], InvalidOperationException
+ FullyQualifiedErrorId : MicrosoftDynamicsNavServer$BC200/default,Microsoft.Dynamics.Nav.Apps.Management.Cmdlets.StartNavAppDataUpgrade
The codeunits which are mentioned in the error are base objects, I can't make any changes there. I don't understand why I'm facing this issue at this step.
All the previous steps are executed perfectly.
Please help me resolve this issue..
Thanks in Advance