Occassionally, I'm getting the following error message from Adobe Reader:
There was an error opening this document. This file cannot be found.
If I put a breakpoint in my code and step through the DrawToWeb line, the error doesn't appear and the report is created.
Any ideas? Thanks
Adobe Reader: Error Opening This Document
Re: Adobe Reader: Error Opening This Document
Support · Nov 10, 2005Hello,
This is most likely happening because there is some stray HTML being output or appeneded to the content stream after the PDF has been created. Different versions of acrobat respond differently to this.
The easiest solution is to add a Response.End() directly after the Document's DrawToWeb method or by removing the HTML tags that are causing this.
Thanks
ceTe Software Support Team