Posted by a ceTe Software moderator
Hello,
The most likely reason you are getting the damaged file not opening error is because there might some HTML being output after the PDF corrupting the PDF output stream. The easiest solution would be to add a Response.End() immediately after the DrawToWeb() method and that should fix your problem.
Thanks,
ceTe Software Support Team