cancel
Showing results for 
Search instead for 
Did you mean: 

Application crashing when generating many PDFs using Crystal Report and Thai language

0 Kudos
1,187

We are generating 145,112 PDFs using Crystal Reports in a multi-threaded loop.

After generating about 826 PDFs, our application will crash.

We have isolated the issue to a combination of Thai characters being printed into the report and using the PSL Kittithada Pro font.

Is there some sort of Thai multi-language support required when using Crystal Reports?

View Entire Topic
0 Kudos
  1. The application is written in C#.NET.
  2. Yes, the code does explicitly call .Dispose() on the ReportDocument instance. The instance is not in a "using" clause.
  3. We're using a pool of ReportDocument instances that we re-use while creating the PDFs, is this alright in your view?
  4. We have not much of a choice when it comes to sub-reports. We have to use them. Does the advise about reversing the order of setting connection info from this forum still valid?
  5. I tried increasing the value of the PrintJobLimit in the registry to a higher value (ex. 999) but that doesn't fix my problem. Is there some sort of registry setting that I can tweak? The registry setting is:
    [HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Crystal Reports for .NET
    Framework 4.0\Report Application Server\Server]