Quantcast
Viewing all articles
Browse latest Browse all 3636

Crystal Report hangs for some method calls when called recursively.

Hi,

 

I have windows service that is exporting crystal report in PDF for requested context.

This is happening per batch (batch contains 1-500 entries) so report will be exported for per entry. So report (Report1.rpt) will be loaded for each entry and then will be exported using (ReportDocument.ExportToDisk).

When this batch is executed under windows service repeatedly (after every 15 min), then service hangs at ReportDocument.Load(Report1.rpt,

OpenReportMethod.OpenReportByTempCopy) or ReportDocument.Close().

 

 

Is there any known pattern where crystal report creates problem?

How can i solve this issue?

 

Things tried:

 

I had tried to move Report Load and Export on thread and wait for specified time and then kill thread, but still it doesn't work.

 

 

Thanks,

 

Nitant


Viewing all articles
Browse latest Browse all 3636

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>