I have an issue where exporting to Microsoft Outlook fails the first and sometimes the second try with the below error. And then works fine, appears it may be a timing thing where the MAPI dll is not getting loaded into memory quickly enough. This issue happens to all users consistantly when running in a ICA Citrix session. The export works fine on Windows workstations. Thoughts?
CrystalDecisions.CrystalReports.Engine.InvalidArgumentException: Invalid export options.
at CrystalDecisions.CrystalReports.Engine.STACaller.Call()
at CrystalDecisions.CrystalReports.Engine.MAPIMessage.Send()
at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportStreamToMAPI(Stream stream, MicrosoftMailDestinationOptions options, String name)
at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export()
at CrystalDecisions.CrystalReports.Engine.ReportDocument.Export()
at DecisionPro.Printing.CrystalEngine.ExportReport(ReportDocument report, String emailList, String emailSubject, String emailText)
Thanks,
Miles