Hi,
I'm using NAV 2016 and I have a codeunit that communicates with Bullzip and I have noticed a difference in behavior between the execution by a NAS and the execution by the RTC, both services are executed by the same user and running on the same server.
When I execute the code from the RTC with my Bullzip variables declared as "RunOnClient" = No, I'm getting the create file pop-up of bullzip which indicates to me that my ini-file isn't created. When I change my declaration to "RunOnClient" = Yes, my ini-file is created and the pop-up isn't shown.
When I execute the same code from the NAS and declaration is "RunOnClient"=No, my files are correctly generated. Do I change to "RunOnClient"=Yes I'm getting the following error:
Does anybody have a solution for this, my current solution would be to create 2 sets of variables and split the execution code between NAS and Client.
Thanks,
Tom
I'm using NAV 2016 and I have a codeunit that communicates with Bullzip and I have noticed a difference in behavior between the execution by a NAS and the execution by the RTC, both services are executed by the same user and running on the same server.
When I execute the code from the RTC with my Bullzip variables declared as "RunOnClient" = No, I'm getting the create file pop-up of bullzip which indicates to me that my ini-file isn't created. When I change my declaration to "RunOnClient" = Yes, my ini-file is created and the pop-up isn't shown.
When I execute the same code from the NAS and declaration is "RunOnClient"=No, my files are correctly generated. Do I change to "RunOnClient"=Yes I'm getting the following error:
Microsoft Dynamics NAV Server attempted to issue a client callback to create a DotNet object: Bullzip.PdfWriter.ComPdfSettings (CodeUnit 50056 PDF Functions). Client callbacks are not supported on Microsoft Dynamics NAV Server.
Does anybody have a solution for this, my current solution would be to create 2 sets of variables and split the execution code between NAS and Client.
Thanks,
Tom