Welcome Guest Search | Active Topics | Sign In | Register

EO.Web ASPXToPDF problem in IFRAME Options
Daniele
Posted: Friday, January 3, 2020 10:26:19 AM
Rank: Member
Groups: Member

Joined: 11/15/2012
Posts: 16
Hi, i have this versions but with same problem: EO.Total.2019.2.69.0 and EO.Total.2019.2.91.0

I run the .aspx page outside the IFRAME and generate PDF properly.
I run the .aspx page inside the iFRAME and generate this error: Failed to load resource: the server responded with a status of 500 () - Look like that it cannot find the page but obviously exist. The internal error is teh classic error of instance.

I tested the page on https and http (also https or http for the parent page of iframe).
I dont think that is a SSL problem but also tested.

I need some new options to configure?
I have this code:

HtmlToPdf.Options.JpegQualityLevel = 100;
HtmlToPdf.Options.OutputArea = new RectangleF(0.25f, 0.35f, 7.75f, 10.75f);
HtmlToPdf.Options.PageSize = EO.Pdf.PdfPageSizes.A4;
HtmlToPdf.Options.NoCache = true;
ASPXToPDF1.RenderAsPDF(download);


Anyone with this recent problem?
Thanks

daniele

eo_support
Posted: Friday, January 3, 2020 4:22:58 PM
Rank: Administration
Groups: Administration

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

This appears to be an exception on the server. Can you collect the stack trace of the exception?

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.