I have a sub routine that creates a pdf file of a report that was created using Crystal Reports 2008. I'm doing the following:
rptDoc.ExportToDisk(ExportFormatType.PortableDocFormat, g_strPDFPath & "\" & strFileName & "" & ".pdf")
The Issue: Only on 2 machines (out of 40) do I have this issue. Whenever they run this piece of code, they get an error that says <application name> has encountered a probelm and needs to close. We are sorry for the inconvenience.
This only happens whne creating the PDF file. I've tried commented out the displaying of the crystal report and just creating the pdf, that failed. I tried commenting out the PDF and just displaying the crystal reprot and that worked. I don't see why the above code is causing the issue. Has anyone experienced this before??