When opening up a PDF generated by my web app, I get the following error : "File does not begin with '%PDF-'".
Here is more information:
The exact same code works on the server I'm migrating the code from. It also works on a development server
The error only appears only when I select a lot of records, thus making the PDF large. Single out records or shrinking the amount of selected records to render makes the error go away.
I've tried using firefox rather than IE and saving the file locally. The error still appears only when the report is pulling a lot of data.
Development matches production code exactly.
I can recreate the error on multiple client machines.
It seems to be server related but I'm not exactly sure how.
Any thoughts? Please?