Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Answered

Error while migrating from Business central 20.1 to Business central 24

Posted on by 410
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
  • Suggested answer
    Saurav.Dhyani Profile Picture
    Saurav.Dhyani 14,611 User Group Leader on at
    Error while migrating from Business central 20.1 to Business central 24
    Hi,
     
    During upgrade always update the timeout to max value - 11:55:50.
     
    Regards,
    Saurav Dhyani
  • Error while migrating from Business central 20.1 to Business central 24
    You correct gdrenteria. It was a server timeout. Had to increase the performances.
  • Verified answer
    gdrenteria Profile Picture
    gdrenteria 5,038 Super User on at
    Error while migrating from Business central 20.1 to Business central 24
    Hi
    Sometimes I have experienced problems in the update due to resource problems with the server where it is running, I also recommend that you temporarily increase a good capacity of resources to execute these processes that are demanding.
    BR
    GR

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,986 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,588 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans