Hi
I populate my report using a dataset and most of the time the report generation is successful.
but after a while (3-5 reports) I start getting missing data in the report. Either the png blobs do not get printed or some other string fields. Usually the same strings are missing.
If I continue generating reports after that I get "report could not be submitted for background processing" error or since I use some fields for formatting I get errors corresponding to those formulas where I try to use the missing fields.
I have checked the dataset before SetDataSource and it is complete, images and all.
Is there some way to restart the embedded crystal reports thread/process programmatically from c#? if the problem is because of memory fragmentation, this might solve the problem.
I use crystal reports basic 2008 for visual studio 2008.
Kind regards
//Gunnar
I moved your post to the .NET - SAP Crystal Reports.
First, download SP 1 for CR 10.5:
https://smpdl.sap-ag.de/~sapidp/012002523100009351512008E/crbasic2008sp1.exe
Running 3 - 5 reports will not cause memory fragmentation. But not using .Close and .Dispose on the report object may be causing the issues you are seeing.
So, do the above first. If you keep getting background processing errors, see the article [Causes of "Background Processing" error|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50a6f5e8-8164-2b10-7ca4-b5089df76b33].
Also, the blog [Troubleshooting Issues with VS .NET Datasets and Crystal Reports|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/13270] [original link is broken] [original link is broken] [original link is broken]; may come in handy.
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup
Add a comment