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

Community site session details

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

Cannot Create an instance of the following .NET Framework object

(0) ShareShare
ReportReport
Posted on by 2
I have inherited a code base for Business Central on-prem.
 
The code calls into FluentFTP dll to transport data files. 
 
This code has more or less remained the same with small changes for each new Business Central iteration.
 
We are currently trying to get BC22 compliant, but cannot get an instance of FluentFTP (or any other assembly) to instantiate. 
 
The code base will fully compile and publishes without errors.
 
Steps we've taken so far:
  • Updated to .Net Framework 6
  • Updated FluentFTP.dll to the new version 48.0.0.0
    • //////
  • Added Probing paths for new .Net assembly​​​​​​​
    • ​​​​​​​​​​​​​​//////
 
Current constructor
         //////
 
 
 
I have the same question (0)
  • Community member Profile Picture
    2 on at
    Cannot Create an instance of the following .NET Framework object
    For more clarity, I have attempted to migrate the references to .NET 6. 
     
    After installing .net 6,  the probing paths within settings.json point to those assemblies:
     
    "al.assemblyProbingPaths": [
           
            "./.netpackages",
            "C:\\Program Files\\dotnet\\packs\\Microsoft.NETCore.App.Ref\\6.0.23\\ref\\net6.0",
     
     
    The runtime version is pointing to .net 6 in the app.json
     "runtime": "6.0",
     
    2 of the 4 assemblies work correctly when references, the other 2 throw the original error message. 
     
     
  • Suggested answer
    YUN ZHU Profile Picture
    89,830 Super User 2025 Season 2 on at
    Cannot Create an instance of the following .NET Framework object
    Hi, if it is Business Central 2023 wave 1 (BC22), it should be related to the update below. I hope the following information can give you some tips.
    Migrating from .NET Framework to .NET Standard
     
    Thanks.
    ZHU

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,899 Super User 2025 Season 2

#2
Sumit Singh Profile Picture

Sumit Singh 2,444

#3
Jeffrey Bulanadi Profile Picture

Jeffrey Bulanadi 2,304

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans