Hi ceTe,
I'm working on a prototype application using your evaluation version of Merger for .NET using ASP 1.1. I'm creating a Merge document and appending a number of seperate PDFs to it.
I have 50+ different PDFs that I'm using for testing. For some (not all) of these documents, I get this error (included below) at the moment I call either the .Draw or .DrawToWeb methods.
Do you know what might cause this error with some PDFs?
Many thanks,
Thomas Moore
--
Index was outside the bounds of the array.
Line XX: PackDocument.DrawToWeb(Me, "PDFs/PackTest.pdf")
Stack Trace:
[IndexOutOfRangeException: Index was outside the bounds of the array.]
zz93.ab..ctor(u A_0, a A_1) +371
zz93.z.a(a A_0) +543
zz93.z.a() +61
zz93.o.a(DocumentWriter A_0) +48
zz93.af.a(DocumentWriter A_0) +31
zz93.u.d(DocumentWriter A_0) +35
zz93.u.b(DocumentWriter A_0) +39
zz93.aq.a(DocumentWriter A_0) +24
ceTe.DynamicPDF.IO.DocumentResourceList.a(DocumentWriter A_0) +57
ceTe.DynamicPDF.IO.DocumentWriter.h() +468
ceTe.DynamicPDF.Document.a(Page A_0, Boolean A_1, String A_2, Boolean A_3, Assembly A_4) +423
ceTe.DynamicPDF.Document.DrawToWeb(Page page, String downloadAsFileName) +29
MediaCom.BuildPack.Page_Load(Object sender, EventArgs e) in C:\webs\RecruitmentPack\BuildPack.aspx.vb:83
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +750
Index was outside the bounds of the array.
Re: Index was outside the bounds of the array.
Support · Nov 14, 2005Hello Thomas,
Make sure that you are using the latest build DLLs on our web site.
You can check the build number by right clicking the assembly --> Properties --> Version tab --> Under "Other version info" look at Comments under Item name.
If you are using the latest DLL files and you are getting the exception you mentioned then please send over the PDF documents that are causing the exception to be raised to [^a|mailto:support@cete.com|Support^] and we will look into it further.
Thanks,
ceTe Software Support Team.
Re: Index was outside the bounds of the array.
Forum member · Nov 15, 2005Hi ceTe,
Further investigation has revealed corruption in the guilty PDF files! I've loaded the latest version anyway. Thanks for your time.