Hi All,
When I supply more data to convert to PDF using XML data source I get exception on converting the stream
Exception :
Error generating PDF. Exception:Object reference not set to an instance of an object.
at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportOptions options)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportFormatType formatType)
But it works with smaller size like 50-60K of data.
I searched about the exception and the results were mentioning about wrong placement of runtimes.
But my doubt is if the problem is with runtimes then why it works with less data?
Thanks.