vb.net - Crystal Reports - Poor performance on ReportDocument.Load -


we're having performance problems our app crystal reports (xi) hosted in wcf-service. of performance profiler able find out call reportdocument.load taking on 10 seconds. if dig deeper, problematic point in reportclientdocumentclass.open-method, taking whole 10 seconds.

we're calling load-method this:

dim doc reportdocument = new crystaldecisions.crystalreports.engine.reportdocument doc.load("filename") 

the report file hosted on same server service.

the "stack trace" reportdocument.load looks this:

reportdocument.load reportclientdocumentwrapper.ensuredocumentisopened reportclientdocumentwrapper.open reportclientdocumentclass.open 

and mentioned above, call reportclientdocumentclass.open 1 "hanging". ideas cause this?

the original problem pinpointed printers. call open-method tries connect printer used when report designed. when report deployed, printer wasn't available anymore took crystal around 15 seconds notice that.

opening report , setting use no printer fixed particular performance problem.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -