I don't know if this has been posted before but I have a dynamically generated PDF file that works when being accessed from within the server itself but gives me a 'The file is damaged and could not be repaired' message when being accessed remotely. Any thoughts on this?
TIA
Error in PDF when opening remotely
Re: Error in PDF when opening remotely
Support · Oct 29, 2008Hello,
The likely reason for the error you are getting is most probably because of some stray HTML getting outputted along with the PDF stream. Please try adding the following line of code right after the DrawToWeb method and it will solve your problem.
Visible = False;
Thanks,
ceTe Software Support Team.