Click to See Complete Forum and Search --> : Emailing crystal report as attachment


KENIAA
March 6th, 2008, 04:42 PM
I'm using vs2005 & crystal XI, I have a report that I create, I then use ExportToDisk to export it to a PDF and then I use System.Web.Mail.MailMessage and attach the pdf to the email. However, i'm getting a LoadSaveReportException: Invalid report file path, I do not get this exception if I first preview the report using frmReport.CrystalReportViewer.ReportSource = crReportDocument.
Anyone knows how I can fix this? Any ideas are welcome. Thank you.