I'm trying to export a Crystal Report file(.rpt) to a PDF in a Visual Studio 2008 web application. My problem is that this very slow. It is taking about 24 seconds to export a 768 KB rpt to a PDF. Does any one know how I can make this work faster?
Here's my code:
Dim report As CrystalDecisions.CrystalReports.Engine.ReportDocument = New CrystalDecisions.CrystalReports.Engine.ReportDocument
report.Load(Server.MapPath("~/test/testABC.rpt"))
report.ExportToDisk(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat, Server.MapPath("~/test/test123.pdf"))