Business Central 20.2 Application Upgrade to 20.10 fails (without performing a platform upgrade)

Arhontis
Member Posts: 667
Hello,
I have an On-Premises test environment of Business Central in version:
Version: W1 20.2 (Platform 20.0.41086.41354 + Application 1.0.0.0)
That is 2022 Wave 1, cu 2.
I am researching the way to upgrade the application to cu 10 that is released (but not perform a platform update).
I have found the following guide:
https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/upgrade/upgrading-cumulative-update-v20
and following a few of the steps (skipping the platform update).
I have downloaded the dvd of the 20 cu 10 and found the ms extension files
When I try to publish the new System Application:
$SystemAppPath = ".\Microsoft_System Application.app"
Publish-NAVApp -ServerInstance $BcServerInstance -Path $SystemAppPath -SkipVerification
it returns the following error:
Publish-NAVApp : The runtime version of the extension package is currently set to '9.2'. The runtime version must be set to '9.1' or earlier in the app.json file in order to install the extension package on this server.
The parameter $SystemAppPath is pointing to the ms system app as it is shown above.
The plan was to first publish and then do sync and start nav app data upgrade to have the app to be upgraded (with all three ms extensions):
Sync-NAVApp -ServerInstance $BcServerInstance -Tenant $TenantId -Name "System Application" -Version $NewBcVersion
Start-NAVAppDataUpgrade -ServerInstance $BcServerInstance -Tenant $TenantId -Name "System Application" -Version $NewBcVersion
I have searched for the error, but all I got is to get the extension app.json, and change the runtime of that and build it again.
(i.e. https://thinkaboutit.be/2018/10/how-do-i-set-the-runtime-version-of-the-extension-package/)
So, any recommendation on why is that error occuring and how I can overcome it, or if I am following the wrong procedure on installing a minor update to an existing on-premises installation?
Thank in advance
I have an On-Premises test environment of Business Central in version:
Version: W1 20.2 (Platform 20.0.41086.41354 + Application 1.0.0.0)
That is 2022 Wave 1, cu 2.
I am researching the way to upgrade the application to cu 10 that is released (but not perform a platform update).
I have found the following guide:
https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/upgrade/upgrading-cumulative-update-v20
and following a few of the steps (skipping the platform update).
I have downloaded the dvd of the 20 cu 10 and found the ms extension files
When I try to publish the new System Application:
$SystemAppPath = ".\Microsoft_System Application.app"
Publish-NAVApp -ServerInstance $BcServerInstance -Path $SystemAppPath -SkipVerification
it returns the following error:
Publish-NAVApp : The runtime version of the extension package is currently set to '9.2'. The runtime version must be set to '9.1' or earlier in the app.json file in order to install the extension package on this server.
The parameter $SystemAppPath is pointing to the ms system app as it is shown above.
The plan was to first publish and then do sync and start nav app data upgrade to have the app to be upgraded (with all three ms extensions):
Sync-NAVApp -ServerInstance $BcServerInstance -Tenant $TenantId -Name "System Application" -Version $NewBcVersion
Start-NAVAppDataUpgrade -ServerInstance $BcServerInstance -Tenant $TenantId -Name "System Application" -Version $NewBcVersion
I have searched for the error, but all I got is to get the extension app.json, and change the runtime of that and build it again.
(i.e. https://thinkaboutit.be/2018/10/how-do-i-set-the-runtime-version-of-the-extension-package/)
So, any recommendation on why is that error occuring and how I can overcome it, or if I am following the wrong procedure on installing a minor update to an existing on-premises installation?
Thank in advance
0
Best Answer
-
The System App under BC20.10 uses newer runtime, one that is not supported by BC20.2 platform.
If you want to upgrade apps to BC20.10, you will have to upgrade the platform as well, or make changes to the system and base apps and repackage as your own (not recommended!!!).
In fact, other than some select niche cases under old NAV, I have not heard of anybody wanting to upgrade apps, but not the platform1
Answers
-
The System App under BC20.10 uses newer runtime, one that is not supported by BC20.2 platform.
If you want to upgrade apps to BC20.10, you will have to upgrade the platform as well, or make changes to the system and base apps and repackage as your own (not recommended!!!).
In fact, other than some select niche cases under old NAV, I have not heard of anybody wanting to upgrade apps, but not the platform1 -
I was suspecting that was the case.
I am on the way on doing the full upgrade, including the platform.
Thank you very much for the feedback.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