Skip to main content

Notifications

Business Central forum
Suggested answer

.net dll is not working in business central v19

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.

Categories:
  • 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 69,510 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,217 Moderator 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

Quick Links

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

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

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,522 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,441 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans