Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
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 17,965 Super User 2024 Season 2 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 12,183 Most Valuable Professional 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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans