
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
I have the same question (0)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.