Skip to main content

Notifications

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

.net dll is not working in business central v19

(0) ShareShare
ReportReport
Posted on by 241

I developed two dlls. One calculates the formula expression given in the text format and other convert the input into TLV Algorithm. When I used these two dlls in the AL Business Central v19, one of them worked fine. But other dll that converts the input into TLV Algorithm is not working. I used same piece of AL code

pastedimage1667319988375v1.png

but I'm getting this Error:

pastedimage1667320040769v2.png

I nplaced both dlls on this path C:\Program Files\Microsoft Dynamics 365 Business Central\190\Service\Add-ins

Can anyone please tell me what's this error. Answers will be highly appreciated.

  • M Hussnain Javed Profile Picture
    M Hussnain Javed 241 on at
    RE: .net dll is not working in business central v19

    Hi,

    Thanks for replying.

    I'm still getting the same issue. One dll is working fine that is calulating the expression but other one is not working fine that converts the input into tlv format. I followed the same method to use this dll and also followed the links provided by yzhums  but all all in vain.

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 74,036 Super User 2024 Season 2 on at
    RE: .net dll is not working in business central v19

    Hi, The followings are some related questions that I hope will give you some hints.

    Cannot create an instance of the following .NET Framework object

    https://www.fornav.com/knowledge-base/cannot-create-an-instance-of-the-following-net-framework-object/

       

    https://forum.mibuso.com/discussion/70291/cannot-create-an-instance-of-the-net-framework-object

    Thanks.
    ZHU

  • Suggested answer
    DAnny3211 Profile Picture
    DAnny3211 9,272 Super User 2024 Season 1 on at
    RE: .net dll is not working in business central v19

    hi

    look documentation

    i hope help you

    learn.microsoft.com/.../devenv-get-started-call-dotnet-from-al

    DAniele

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

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans