Hi all, I'm trying to export the reportsource of a crystal report viewer in .Net 1.1 onto disk as a PDF using
CrystalDecisions.CrystalReports.Engine.ReportDocument cr = (CrystalDecisions.CrystalReports.Engine.ReportDocument)crvView.ReportSource;
cr.ExportToDisk(CrystalDecisions.[Shared].ExportFormatType.PortableDocFormat, @"C:\Temp\Temp.pdf");
I know it's the "cr.ExportToDisk..." line thats failing, but dont know why. Ive checked to make sure the Crystal Report versions are the same on the client machines and they are.
Sometime i get the message "Memory could not be read at source...." and the application completely crashes, and other times the app crashes without the message.
Any ideas on why this happens and how to fix it would be greatly appreciated.
Cheers