private void ExportReport(ReportDocument paraReport,string paraOutput, string paraFile) { switch(paraOutput) { case "PDF": paraReport.ExportToDisk(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat ,paraFile); break; case "WORD": paraReport.ExportToDisk(CrystalDecisions.Shared.ExportFormatType.WordForWindows ,paraFile); break; case "EXCEL": paraReport.ExportToDisk(CrystalDecisions.Shared.ExportFormatType.Excel ,paraFile); break; } try { paraReport.Export(); } catch (CrystalDecisions.CrystalReports.Engine.InvalidArgumentException iaEx) { System.Windows.Forms.MessageBox.Show("CrystalDecisions.CrystalReports.Engine.InvalidArgumentException was caught again but I bet the file is still there!\n"+iaEx.ToString()); } }The files are written to disk and all seems to be well but the thrown exception is a little annoying. Any thoughts?