Upgrading Business Central Spring 2019 On premise to CU4

mvendert
Member Posts: 5
I upgraded a BC 14 version to cumulative update 4.
All went well and the application runs, but... when i open extension management in the converted application, I find the standard installed extensions still being in the 'old' version. For example the 'Paypal Payment Standard' extension has version v.2.1.29537.0.
When I look in the Cronus database of Cumulative update 4, I see this extension having version 14.5.35970.0 (all other standard extension have this version too.
So i tried to publish the new extensions which are present on the installation media in the extensions folder.
But when doing so I get the error messages below.
publish-navapp -ServerInstance xprt_400_development -Path .\PayPalPaymentsStandard.app -SkipVerification
Errors:
error AL1024: A package with publisher 'Microsoft', name 'Application', and a version compatible with '14.5.35970.0' co
uld not be loaded. Symbols for the requested app Application by Microsoft 14.5.35970.0 could not be found in the databa
se
src/codeunits/COD1070.al(3,29): error AL0185: Table '289' is missing
src/codeunits/COD1070.al(4,15): error AL0185: Table '1062' is missing
.... and the list continues.
But all tables are in the database and are compiled correctly, synced etc.
What am i missing?
All went well and the application runs, but... when i open extension management in the converted application, I find the standard installed extensions still being in the 'old' version. For example the 'Paypal Payment Standard' extension has version v.2.1.29537.0.
When I look in the Cronus database of Cumulative update 4, I see this extension having version 14.5.35970.0 (all other standard extension have this version too.
So i tried to publish the new extensions which are present on the installation media in the extensions folder.
But when doing so I get the error messages below.
publish-navapp -ServerInstance xprt_400_development -Path .\PayPalPaymentsStandard.app -SkipVerification
Errors:
error AL1024: A package with publisher 'Microsoft', name 'Application', and a version compatible with '14.5.35970.0' co
uld not be loaded. Symbols for the requested app Application by Microsoft 14.5.35970.0 could not be found in the databa
se
src/codeunits/COD1070.al(3,29): error AL0185: Table '289' is missing
src/codeunits/COD1070.al(4,15): error AL0185: Table '1062' is missing
.... and the list continues.
But all tables are in the database and are compiled correctly, synced etc.
What am i missing?
0
Best Answer
-
It sound like you are missing symbol on your C/Side objects.
Try adding generatesymbolreference=1 to your finSQL.Exe and compiling your object again.
Or use PowerShell "Compile-NAVApplicationObject -GenerateSymbolReference xxxxxx"
This will create symbol for your objects, then your should be able to publish the new versionsFor help, do not use PM, use forum instead, perhaps other people have the same question, or better answers.5
Answers
-
It sound like you are missing symbol on your C/Side objects.
Try adding generatesymbolreference=1 to your finSQL.Exe and compiling your object again.
Or use PowerShell "Compile-NAVApplicationObject -GenerateSymbolReference xxxxxx"
This will create symbol for your objects, then your should be able to publish the new versionsFor help, do not use PM, use forum instead, perhaps other people have the same question, or better answers.5 -
SanderDK, Thanks for the tips. It helped... but I also had to change the 'Enable loading application symbol references at server startup' to true.
Apps have been published and installed correctly now.0 -
Hi,
When I want to upload an extension to my onprem bc database,I get simular.
error AL1024: A package with publisher 'Microsoft', name 'System', and a version compatible with '14.0.0.0' could not be loaded.
it is an upgraded database(NAV2018 to BC 140). and its is first tring upload an extension to upgraded DB.
I publish system app from shell which one already in DVD.
After that I cömpile nav application with GenerateSymbolReference. Everything is okey.
I can download Symbol also.
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