Error on using DrawToWeb

Error on using DrawToWeb

Forum member · Mar 28, 2006
Dear all, i have a problem in using the DrawToWeb - Method in an Asp.Net 2.0 Application. When runing: document.DrawToWeb(this, "pdf_zeit"); it says: <<System.ArgumentOutOfRangeException was unhandled by user code << Message="Specified argument was out of the range of valid <<values.\r\nParameter name: offset" << Source="System.Web" << ParamName="offset" << StackTrace: << at System.Web.HttpResponseStream.Write(Byte[] buffer, <<Int32 offset, Int32 count) << at ceTe.DynamicPDF.IO.DocumentWriter.Write(String text) << at ceTe.DynamicPDF.IO.DocumentWriter.WriteUnicodeText <<(String textBefore, String text, String textAfter) << at ceTe.DynamicPDF.IO.DocumentWriter.b() << at ceTe.DynamicPDF.IO.DocumentWriter.h() << at ceTe.DynamicPDF.Document.a(Page A_0, Boolean A_1, <<String A_2, Boolean A_3, Assembly A_4) << at ceTe.DynamicPDF.Document.DrawToWeb(Page page, String << downloadAsFileName) Do you have any advice for me? Thanks very much!

Re: Error on using DrawToWeb

Support · Mar 28, 2006
This is a general error that could be caused by many different things. Typically however it can be caused by an erroneous or problematic Image or maybe a Font file (these are not exclusive causes for this however). Are you using any particular Images or Fonts that you can narrow this exception to? If so, send it (them) over to us in an email, [^a|mailto:support@cete.com|support@cete.com^]. Actually, one additional thing you can do before sending anything over is to make sure that you are using the very latest version of our dll files (if you are evaluating check the latest version on the download page or if you have a license check the latest version in the Customer Area Download the latest version and test the applicatin again. This will assure that this is not related any already addressed issues. If after that you are still having trouble then send over any resources (images, fonts, etc.) you are having trouble with. Thanks, ceTe Software Support Team