Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Answered

I can't do a Upgrade from BC 19 To BC 22

Posted on by 2
I upgraded this BC version from 14 to 19, but when I try to upgrade it from 19 to 22 I end up with an error due to the license. The only difference is that now the license is a bclicense instead of a flf. I'm trying all the lines that I see and none of them are working.
I used
Import -NAVServerLicense 'ServerInstance' -LicenseData ([Byte[]]$(Get-Content -Path /C://Licenses//license.bclicense/ -Encoding Byte))
Import -NAVServerLicense -ServerInstance 'ServerInstance' -LicenseFile /C://Licenses//license.bclicense/
 
Obviously I changed The serverInstance and the path to my server instance and the path where the license is located, but still I get the same error. The error is 
 
Import-NAVServerLicense : An error ocurred while reading the license file. Verify the license file is in the correct BCLicense file format and try again. Error Code: Unknown error.
In line: 1 Character: 1
Categories:
  • Verified answer
    black_s Profile Picture
    black_s 323 on at
    I can't do a Upgrade from BC 19 To BC 22
    Use as below
     
    Import -NAVServerLicense -ServerInstance 'ServerInstance' -LicenseFile C:\Licenses\license.bclicense

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,353 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,251 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans