I have suddenly run into this error on my web application. Here is the error and stack trace.
Specified argument was out of the range of valid values.
Parameter name: offset
[ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: offset]
System.Web.HttpResponseStream.Write(Byte[] buffer, Int32 offset, Int32 count) +3159339
ceTe.DynamicPDF.IO.DocumentWriter.Write(String text) +33
ceTe.DynamicPDF.IO.DocumentWriter.b() +503
ceTe.DynamicPDF.IO.DocumentWriter.h() +258
ceTe.DynamicPDF.Document.a(Page A_0, Boolean A_1, String A_2, Boolean A_3, Assembly A_4) +403
ceTe.DynamicPDF.Document.DrawToWeb(Page page, String downloadAsFileName) +29
DataAnalyzer.OpenPDF.OpenReport(HttpResponse response, String reportname, HttpRequest Request, String UseRealtimeServer) +6518
DataAnalyzer.OpenPDF.Page_Load(Object sender, EventArgs e) +367
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
What is odd about this is that yesterday, the app was working and today, this error message comes up. Nothing has changed on the server. It is a 2003 server running IIS.
Error
Re: Error
Support · Jan 18, 2007Hello,
The reason you started getting this error is probably because you have switched to version 2.0 of the .NET framework which requires version 3.0.3 and higher. Please login to the Customer Area
using your serial number and download the latest v3.0.3 DLL files and replace your existing DLL files with the new files you download and that should likely resolve your problem.
Thanks,
ceTe Software Support Team