web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Corrupted fonts when batch job writes report to PDF file

(0) ShareShare
ReportReport
Posted on by 1,087

Hi,

i've got a batch job which runs 4 different reports for a set of customers. (4 reports for each customer, a new directory for each customer)

At the end of execution some of the PDF file have all the fonts corrupted. The thing is completely random. The set of corrupted-pdfs always changes.

If i open directory "Customer1" for instance and i find that all 4 reports have corrupted fonts, I try to execute the batch only for that Customer1, and the reports then are written properly without corrupted fonts.

I've also tried both "embedded" and "not-embedded fonts", the thing doesn't seems to make difference.


Any work around?

Thank you in advance

regards

*This post is locked for comments

I have the same question (0)
  • Umesh Pandit Profile Picture
    9,315 User Group Leader on at
  • vv1984 Profile Picture
    1,087 on at

    Thank you for your reply, but my problem is slightly different from the ones you linked..

    I don't get any error messages. I just get randomly screwed up files...

  • Martin Dráb Profile Picture
    237,878 Most Valuable Professional on at

    Can you tell us how the corruption looks like?

  • vv1984 Profile Picture
    1,087 on at

    The corruption results in unreadable fonts (like Windings for instance, special chars.. )

    The issue appears also when I render in HTML format. In this case the files have no content and are 1KB size.

    Even in this case the problem is completely random. I print 4 report for each Cust of my query, every execution of the batch return different messed up files.. And if i print the single files manually they dont give me this problem.

    Maybe there is some memory to free. I've also tried setting a sleep timeout of 5 seconds between each report, but it didnt work out.

    Is there something else you would try to fix it?

    Thank you in advance

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
Ali Zaidi Profile Picture

Ali Zaidi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans