
We are currently performing a data upgrade from NAV 2017 to Business Central (BC) 26.
As per Microsoft’s documentation, we have successfully converted the database from NAV 2017 to BC 14, which serves as the intermediate step before moving to BC 25. However, we are facing an issue where now I am deploying my app file.
Below is the error we encountered.
PS C:\Windows\system32> Publish-NAVApp -ServerInstance BC140 -Path "D:\Extension\BC14\XYZ Pte Ltd_XYZ-India_1.0.0.0.app" -SkipVerification
Publish-NAVApp : Token StartAttribute in state Element Content would result in an invalid XML document.
At line:1 char:1
+ Publish-NAVApp -ServerInstance BC140 -Path "D:\Extension\BC14 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Publish-NAVApp], InvalidOperationException
+ FullyQualifiedErrorId : MicrosoftDynamicsNavServer$BC140/nav-systemapplication,Microsoft.Dynamics.Nav.Apps.Management.Cmdlets.PublishNavApp
It would be really helpful if anyone who has come across a similar issue could share their insights or possible solutions.
Thanks in advance!