Skip to Content
0
Former Member
Jan 22, 2011 at 03:35 PM

Error when many connection load report

42 Views

Today i deploy website report, i use crystal report 13 for vs 2010 to show report and use crystarl report 9 to design report (about 5 file report).

Report load follow this process:

1/ Execute Store Procedure in Oracle, return a dataset

2/ Load crystal report designed with data source is dataset

3/ Export file crystal report after load datasource to rpt file (correlative with each user)

4/ When user want to view report, crystal report viewer will load rpt file to show.

In one minute have about 3-5 file report are loaded. After a few minute, my website raise this error at step 2:

 Load report fail.
System.Runtime.InteropServices.COMException: Unsupported Operation. A document processed by the JRC engine cannot be opened in the C++ stack at 
CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)

I have to restart iis to website run normal. But after a few minute this error still raise ???????????

Now I add option OpenReportByTempCopy in ReprotDoctument.Load funtion, but to Monday i can know this option can solve my problem. Who have idea help me solve this problem? Thanks for read.

Edited by: phatnguyen81 on Jan 22, 2011 4:35 PM