Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

BC23 - .Net Framework DLL stop working

Posted on by 5
Dear All,
I really need your help! I have a DLL I created in .NET (C#) utilizing .Net Framework 4.7. This DLL contains some  methods that allow me to search, upload and download file from our Sharepoint 2013 on premise using CSOM libraries (Microsoft.Sharepoint.Client and Microsoft.Sharepoint.Client.Runtime).
We are currently upgrading from BC21 to BC23 and in BC23 my DLL stopped working!! I started receiving error 401 /Unauthorized/ when I try to call the ClientContext.ExecuteQuery().
In some articles, Microsoft explained that starting from BC23, the BC server is now running with .Net 6.0 and it is not compatible with .Net Framework. So, I thing the issue is related to this major change because in BC21 my DLL is perfectly working.
I can't translate mu DLL in .Net 6 because the CSOM objects are available only for .Net Frameworks.
 
Is there anyone who knows how I can do it? 
Can you please suggest me how to proceed?
 
Thank you very very much for your help!!
Categories:
  • Suggested answer
    gdrenteria Profile Picture
    gdrenteria 8,734 Most Valuable Professional on at

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

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,277 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,126 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans