Skip to main content

Notifications

Announcements

No record found.

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

BC23 - .Net Framework DLL stop working

(1) ShareShare
ReportReport
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!!
  • Suggested answer
    gdrenteria Profile Picture
    gdrenteria 12,920 Most Valuable Professional on at

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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,371 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans