Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Performance question - 3 seconds for ReportDocument constructor?

Hey there,

when I run this code (intended to:

CrystalDecisions.CrystalReports.Engine.ReportDocument document = new ReportDocument();
document.Load("c:\\myreport.rpt");
ReportClientDocument newDoc = document.ReportClientDocument;

I notice that the first line, constructing a blank ReportDocument, takes roughly 3-4 seconds to run. Is this normal? Any time I create a ReportDocument is it supposed to take this long? Or is there a different, quicker way of going about this, getting a ReportClientDocument object from a report file?

Thanks!

John Goering

Former Member
replied

From my experience, that's quite normal.

Ludek

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question