Hi,
I have written a DLL and installed it in the add-on folders on both my server and my client.
When i try to use the DLL in a codeunit it works fine as long as i define the - run on client property to "true". - but then ofcourse i can't use "with events".
When i set the - "run on client" to false i get an "object reference not set to an instance of an object" error when i try to run my codeunit.
Can anyone explain this difference in behavior when running clientside vs. serverside and have any idea what i can do to be able to run my codeunit with the dotnet variable running server side?
0
Answers
Example if your dll creates a file on C: guess where it ends up in either case.
https://docs.microsoft.com/en-us/dynamics-nav/runonclient-property
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/
xStepa
Try to register your dll on the NST server, or add it to the global assembly cache.
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03