Welcome Guest Search | Active Topics | Sign In | Register

Conversion failed. error code = 3. Array dimensions exceeded supported range. Options
svenergize
Posted: Tuesday, November 1, 2016 11:34:22 AM
Rank: Newbie
Groups: Member

Joined: 11/1/2016
Posts: 1
Wondering if anyone has any ideas about how I can solve this issue. When doing the HTML to PDF conversion on some (large) data sets, I am seeing this crash:

Code:
Conversion failed. Conversion failed. error code = 3. Array dimensions exceeded supported range.
   at EO.Pdf.HtmlToPdfException.b(Exception A_0)
   at EO.Internal.a3j.a(ov A_0)
   at EO.Pdf.HtmlToPdfSession.RenderAsPDF(PdfDocument doc)
   at EO.Pdf.HtmlToPdf.ConvertUrl(String url, PdfDocument doc, HtmlToPdfOptions options)
   at My.Application.MyLibrary.Export.ExportPdf.SaveFile(String path, String artifact)
   Conversion failed. error code = 3. Array dimensions exceeded supported range.
   at EO.Internal.o7.a(e A_0, a7y A_1, WriteArgDelegate A_2)
   at EO.Internal.o7.a(HtmlToPdfOptions A_0, Single A_1, Single A_2, Size A_3, Rectangle A_4, aml A_5, List`1 A_6, ov A_7)
   at EO.Internal.a3j.a(ov A_0, String A_1, Single& A_2)
   at EO.Internal.a3j.a(ov A_0)


My HtmlToPdfOptions:

Code:

RetrieveNodeText = false,
GeneratePageImages = false,
NoScript = true,
NoLink = true,
PageSize = new SizeF(11f, 8.5f),
OutputArea = new RectangleF(0.25f, 0.25f, 10.5f, 8f)


File version: 16.1.54.0m from EO.Total 2016

I am exporting the PDF documents one at a time with a merge happening after every iteration.

Any ideas? Any more information I can provide?
eo_support
Posted: Tuesday, November 1, 2016 12:27:00 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,218
Hi,

This might be a problem on our end. Can you try to isolate the problem into a test project and send the test project to us? See here for more details:

https://www.essentialobjects.com/forum/test_project.aspx

We will look into it as soon as we have the test project.

Thanks!
Paul G
Posted: Friday, December 27, 2019 12:06:12 PM
Rank: Newbie
Groups: Member

Joined: 8/13/2014
Posts: 6
I am having the same issue. Was this ever resolved? Using 16.1.54.0 on a number of different Windows versions is producing this. Only on web pages that are a few pages in length.

Exception: Conversion failed. Conversion failed. error code = 3. Array dimensions exceeded supported range.
Inner Exception: Conversion failed. error code = 3. Array dimensions exceeded supported range.

Callstack:
at EO.Pdf.HtmlToPdfException.b(Exception A_0)
at EO.Internal.a3j.a(ov A_0)
at EO.Pdf.HtmlToPdfSession.RenderAsPDF(PdfDocument doc)
at EO.Pdf.HtmlToPdf.ConvertHtml(String html, PdfDocument doc, HtmlToPdfOptions options)
at EO.Pdf.HtmlToPdf.ConvertHtml(String html, Stream stream, HtmlToPdfOptions options)
at EO.Pdf.HtmlToPdf.ConvertHtml(String html, Stream stream)
eo_support
Posted: Monday, December 30, 2019 11:32:46 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,218
Hi,

We did fix an issue that could cause this issue in build 16.2.37 and then again fixed another scenario in 16.2.50. However we have not received any confirmation from the customer on this, so the issue was marked as "assumed" resolved.

We provide free upgrade for one year after the purchase. So build 16.2.50 is within your free upgrade period, you can PM us your order number and we will be able to provide download location for you to try. If that still does not resolve the issue, then it must be a different scenario, in that case we would need you to send us a test file and the fix would be based on the latest build.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.