microsoft / AL

Home of the Dynamics 365 Business Central AL Language extension for Visual Studio Code. Used to track issues regarding the latest version of the AL compiler and developer tools available in the Visual Studio Code Marketplace or as part of the AL Developer Preview builds for Dynamics 365 Business Central.
MIT License
723 stars 241 forks source link

Business Central 2019 Wave 2 (15.2) upgrade to 2020 Wave 1 failed - Page 1752 was not found #5840

Closed Wiechardt closed 4 years ago

Wiechardt commented 4 years ago

Hi there,

I ran into a problem upgrading a Business Central 2019 Wave 2 database (15.1.37881.38071) to Business Central 2020 Wave 1 database (16.0.11240.12076) - the old and new databases are both the GB version of the application/database.

I would really appreciate assistance with this issue.

Describe the bug I am following the steps in "https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/upgrade/upgrade-unmodified-application" and when I run this command below:

Sync-NAVApp -ServerInstance BC160 -Name "Base Application" -Version '16.0.11240.12076' -Mode ForceSync

I get this error:

_Sync-NAVApp : The metadata object Page 1752 was not found. At line:1 char:1

This page is the DataClassificationWizard.Page.al page.

To Reproduce As explained above.

Screenshots

image

This is my Get-NAVAppInfo:

image

5. Versions:

kalberes commented 4 years ago

Hi, I wander why do you have the 15.X versions of System App and Base App still installed? Here it says that all apps should be uninstalled/unpublished first https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/upgrade/upgrade-unmodified-application-v15-to-v16

Wiechardt commented 4 years ago

Hi there,

You are 100% correct, I saw that too and thought it was meant to still be there at that stage.

I followed the steps in the help topic you posted and I managed to upgrade the database without a problem.

Thanks so much, you can close this issue as resolved.

Regards, Wiechardt