0

I generate pdf files based on reports through a server batch job(using runbasebatch class and reportRun class), if i don't schedule job just executing the class, it works perfectly, I have readable pdf files, if scheduled, my pdf files are corrupted, they all have a size of 1 ko.In this case, I have no error on batch history. any ideas? thanks in advance

using AX 2009 no SP1, acrobat reader 7 on AOS Already remove any image logo

Thomas Post
  • 535
  • 2
  • 11
  • 27

2 Answers2

2

If there are images in the report, the problem resides in the fact that the Image class can only run on client.

You can fix images in batch report by using the System.Drawing.Image class. Read the full details on how to change the code in a blog post of a colleague of mine who fixed this already for us.

Kevinroos.be Dynamics AX Printing logo's from batch

Kenny Saelen
  • 894
  • 1
  • 5
  • 16
0

Try removing any images in the report.

The is an error in image batch printing in AX 2009 before certain CU.

Jan B. Kjeldsen
  • 17,817
  • 5
  • 32
  • 50