web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

"Invoke-NAVApplicationDatabaseConversion" issue while upgrade database from BC24 to BC25

(4) ShareShare
ReportReport
Posted on by 8
Hello,
 
I am upgrade BC24 to BC25. in that process i have faces some issue regarding DLL file.
 
Steps : 1
#Import Module
Import-Module 'C:\Program Files\Microsoft Dynamics 365 Business Central\240\Service\NavAdminTool.ps1'
 
Steps : 2
#Uninstall Extensions from BC 24
Get-NAVAppInfo -ServerInstance BC240 -Tenant default | % { Uninstall-NAVApp -ServerInstance BC240 -Tenant default -Name $_.Name -Version $_.Version -Force}
 
Steps : 3
#Unpublish Extensions from BC 24
Get-NAVAppInfo -ServerInstance BC240 | % { Unpublish-NAVApp -ServerInstance BC240 -Name $_.Name -Version $_.Version}
 
Steps : 4
#Remove Symbols
Get-NAVAppInfo -ServerInstance BC240 -SymbolsOnly | % { Unpublish-NAVApp -ServerInstance BC240 -Name $_.Name -Version $_.Version }
 
Steps : 5
#Stop Service
Stop-NAVServerInstance -ServerInstance BC240
 
after step : 5 i will install BC25 and it will successfully installed in my system after that i will perform below steps 

Steps : 6
#Import Module
Import-Module 'C:\Program Files\Microsoft Dynamics 365 Business Central\250\Service\NavAdminTool.ps1'
 
Steps : 7
#Convert the application database to version 25
Invoke-NAVApplicationDatabaseConversion -DatabaseServer "DESKTOP-SAEHFRV\SQLEXPRESS" -DatabaseName LocalDB_DAV

in above step: 7 it will give below error Like:
 
WARNING: UnhandledErrorMessage
Invoke-NAVApplicationDatabaseConversion : Could not load file or assembly 'Microsoft.Bcl.AsyncInterfaces, Version=8.0.0.0, 
Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. Could not find or load a specific file. (0x80131621)
At line:1 char:1
+ Invoke-NAVApplicationDatabaseConversion -DatabaseServer "DESKTOP-SAEH ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Invoke-NAVApplicationDatabaseConversion], FileLoadException
    + FullyQualifiedErrorId : System.IO.FileLoadException,Microsoft.Dynamics.Nav.Management.Cmdlets.InvokeNAVApplicationDat 
   abaseConversion
 
for above error i have checked that 
  • .NET 8 is installed 
  • DLL exists in BC service folder - :\Program Files\Microsoft Dynamics 365 Business Central\250\Service\Microsoft.Bcl.AsyncInterfaces.dll
  • PowerShell version is correct
Error.png
I have the same question (0)
  • Gerardo Rentería García Profile Picture
    26,844 Most Valuable Professional on at
  • Suggested answer
    OussamaSabbouh Profile Picture
    16,699 Super User 2026 Season 1 on at
    Hello ,
    This is usually not a database issue but a BC25 PowerShell/module loading issue: Microsoft’s upgrade step is to run Invoke-NAVApplicationDatabaseConversion from the Business Central 25 Administration Shell, and when you get Microsoft.Bcl.AsyncInterfaces, Version=8.0.0.0 not loading, it normally means the session is using a mixed/incorrect module dependency chain rather than the clean BC25 one, so the practical fix is to open a fresh BC25 Administration Shell as Administrator, do not import BC24 and BC25 admin modules in the same PowerShell session, make sure only the BC25 management module is loaded, then rerun the conversion; if it still fails, repair/reinstall the BC25 service tier/admin shell because the DLL may exist in the folder but the shell is still not resolving it correctly.
    Regards,
    Oussama Sabbouh
  • SP-14040400-0 Profile Picture
    20 on at
    Thaks @Gerardo Rentería García

    i have tried as you suggest but still getting same erro.
  • Suggested answer
    SP-14040400-0 Profile Picture
    20 on at
    Hello @OussamaSabbouh,
    thanks for replaying,

    First, I am opening BC24 Administration Shell as Administrator for Uninstall and Unpublish all app. After that i am opening BC25 Administration Shell as Administrator for "Invoke-NAVApplicationDatabaseConversion" but it will give same dll error.  So getting same error i will Uninstall CU25 -> Restart system ->ReInstall CU25 and go with above step but still getting Same error.

    There is any other process for IN Version?
  • Suggested answer
    Kamal Khakhkhar Profile Picture
    3,357 on at
    Hii there as per requirement we had update our data base from 19 to 25 .

    for this you can get reference from below link 
    https://youtu.be/1T_53R96quo?si=w8O19ux8MIekLFzW

    we also had followed the same .
     
    if you found answer mark it verified.

    Thank You.
    Kamal Khakhkhar
  • Suggested answer
    SP-14040400-0 Profile Picture
    20 on at
     
    Thanks for sharing your input.
     
    As follow steps which shows in Video, bellow same error occur.

    PS C:\WINDOWS\system32> Invoke-NAVApplicationDatabaseConversion -DatabaseServer "DESKTOP-SAEHFRV\SQLEXPRESS" -DatabaseName LocalDB_DAV
    WARNING: UnhandledErrorMessage
    Invoke-NAVApplicationDatabaseConversion : Could not load file or assembly 'Microsoft.Bcl.AsyncInterfaces, Version=8.0.0.0, 
    Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. Could not find or load a specific file. (0x80131621)
    At line:1 char:1
    + Invoke-NAVApplicationDatabaseConversion -DatabaseServer "DESKTOP-SAEH ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [Invoke-NAVApplicationDatabaseConversion], FileLoadException
        + FullyQualifiedErrorId : System.IO.FileLoadException,Microsoft.Dynamics.Nav.Management.Cmdlets.InvokeNAVApplicationDat 
       abaseConversion


    Thank You,
    Sachin
  • Suggested answer
    Kamal Khakhkhar Profile Picture
    3,357 on at
    Hii there 
    please uninstall all extensions from BC 24 . after that unpublish extensions . 
    once its done stop service of BC 24 . and in new command pallet do the next steps .
    here i attached step sample for reference.

    please do like below . 
    if you found answer mark this verified .



    Thank You .
    Kamal Khakhkhar.
  • Suggested answer
    SP-14040400-0 Profile Picture
    20 on at
     
    I have tried same script but error not resolved.
     
    Regards,
    Sachin

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,216 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,471 Super User 2026 Season 1

#3
AndrewThomas81 Profile Picture

AndrewThomas81 1,369

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans