Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans