Server Error in '/dotNetProjects/hp/hpServicesPublishing' Application.
--------------------------------------------------------------------------------
Destination array was not long enough. Check destIndex and length, and the array's lower bounds.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentException: Destination array was not long enough. Check destIndex and length, and the array's lower bounds.
Source Error:
Line 280:// // Outputs the document to the current web page
Line 281:// objDocument.DrawToWeb(this, false, "complex.pdf", true);
Line 282: objDocument.DrawToWeb(this, false, docID+".pdf", true);
Line 283: }
Line 284:
Source File: c:\inetpub\wwwroot\dotnetprojects\hp\hpservicespublishing\complex.aspx.cs Line: 282
Stack Trace:
[ArgumentException: Destination array was not long enough. Check destIndex and length, and the array's lower bounds.]
System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length) +0
a6..ctor(TiffImageData A_0, bg A_1) +961
ceTe.DynamicPDF.Imaging.TiffImageData.a() +282
ceTe.DynamicPDF.Imaging.TiffImageData.Draw(PageWriter writer, Single pdfX, Single pdfY, Single width, Single height) +19
ceTe.DynamicPDF.PageElements.Image.DrawRotated(PageWriter writer) +186
ceTe.DynamicPDF.PageElements.RotatingPageElement.Draw(PageWriter writer) +300
ceTe.DynamicPDF.PageElements.Group.Draw(PageWriter writer) +80
ceTe.DynamicPDF.Page.DrawAppend(PageWriter writer) +7
ceTe.DynamicPDF.Page.b(DocumentWriter A_0, Int32 A_1, Int32 A_2, Int32 A_3) +77
ceTe.DynamicPDF.Page.c(DocumentWriter A_0, Int32 A_1, Int32 A_2, Int32 A_3) +222
ceTe.DynamicPDF.PageList.a(DocumentWriter A_0, Int32 A_1) +120
ceTe.DynamicPDF.IO.DocumentWriter.h() +368
ceTe.DynamicPDF.Document.a(Page A_0, Boolean A_1, String A_2, Boolean A_3, Assembly A_4) +450
ceTe.DynamicPDF.Document.DrawToWeb(Page page, Boolean allowBrowserCaching, String downloadAsFileName, Boolean forceDownload) +37
hpServicesPublishing.complex.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\dotnetprojects\hp\hpservicespublishing\complex.aspx.cs:282
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +750
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407
ceTe.DynamicPDF.Imaging.TiffImageData
Re: ceTe.DynamicPDF.Imaging.TiffImageData
Support · Aug 7, 2007Hello,
Can you please send over the TIFF image you are using to our [^a|mailto:support@cete.com|Support Team^] so that they can take a look at what exactly is causing this error to be thrown?
Thanks,
ceTe Software Support Team