Hi All,
I want to generate a PDF file by batch on disk, I am using the standard Axapta PDF
engine.
Such as I print the sales order confirmation report to a PDF file, I will get an error as below:
The server-side impersonated (RunAs) session tried to invoke a method that
is available for client-side processing only.
(S)\Classes\PDFViewer\writeBitmap - line 47
(S)\Classes\ReportOutputUser\writeField
(S)\Classes\ReportOutputUser\printViaClass
......
I know it is a common issue in AX 2009:
When you print a PDF with a bitmap on it (for example, a company logo), it uses a class called Image. In AX 2009, this class is run on CLIENT. So I get the error.
Do you have any solution? I want to print the report with the logo and by batch.
Regards,
Parker