Upgrade from BC14 to BC20

Dhiru_123
Member Posts: 3
Hi All,
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 '14.0.0.0' 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
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 '14.0.0.0' 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
0
Answers
-
You have some code in codeunit 10400 in function UpgradeJobShipToSellToFunctionality that cannot execute in your database, you can review the code and possible guess what does not workFor help, do not use PM, use forum instead, perhaps other people have the same question, or better answers.0
-
Hi, the codeunits mentioned in the error are base objects. I have not done any customization on it. Do you have any other idea?
Btw thanks for replying.0 -
Is your entire database unmodified?For help, do not use PM, use forum instead, perhaps other people have the same question, or better answers.0
-
It is modified but the the objects which are mentioned in the error list.0
-
But the object mentions will change data in other tables so the code possibility changes values where you have modificationsFor help, do not use PM, use forum instead, perhaps other people have the same question, or better answers.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions