Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

AX 2009 Business connector in ASP.NET Core

(0) ShareShare
ReportReport
Posted on by 720

Hi,

I am creating a project in visual studio using ASP.NET Core Web Application as I want to have JWT authentication. 

Issue started when I add in AX 2009 Business connector and coding in the project.

It give error FileLoadException: Mixed mode assembly is built against version '2.0.50727' of the runtime and cannot be loaded in in the 4.0 runtime without additional configuration information.

Any one having this problem before and please share the solution to this issue. Thanks.

*This post is locked for comments

  • Suggested answer
    Martin Dráb Profile Picture
    Martin Dráb 231,321 Most Valuable Professional on at
    RE: AX 2009 Business connector in ASP.NET Core

    It's a standard .NET Framework error when you're trying to use an assembly built for .NET Framework 2.0 in a .NET Framework 4.0 application. You can fix it by add useLegacyV2RuntimeActivationPolicy to web.config.

    Note that Business Connector is not a .NET Core library; you must use the full .NET Framework.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,321 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans