Skip to Content
0
Dec 04, 2022 at 07:49 AM

Crystal Reports Hangs when using SelectPDF at the same time

141 Views Last edit Dec 05, 2022 at 01:56 PM 3 rev

Hello,

I have two jobs running on different threads. One job is using SelectPdf to create pdfs.

The other job is using crystal reports (v 13.0.3500.0) to export to PDF. When they run at the same time crystal reports hangs and will no longer do anything.

Job #1:

SelectPdf.HtmlToPdf Renderer = new SelectPdf.HtmlToPdf();

SelectPdf.PdfDocument doc = Renderer.ConvertHtmlString(htmlDocument);

documentOutput = doc.Save();

doc.Close();

vs.

Job #2:

stream = CrystalReportDocument.ExportToStream(exportOptions.ExportFormatType);

Exporting to stream or file makes no difference.

Any suggestions?

Thanks,

Jon