Welcome Guest Search | Active Topics | Sign In | Register

Conversion failed. Time out expired before the page can be loaded. Options
LINQ IT
Posted: Wednesday, October 11, 2017 12:08:50 PM
Rank: Advanced Member
Groups: Member

Joined: 11/8/2015
Posts: 42
A number of times I'm receiving the Conversion failed. Time out expired before the page can be loaded. What is the recommended way of trapping errors when converting to PDF so we can see more of what may be causing this? Is there debug information available from the process?

Code: C#
EO.Pdf.HtmlToPdf.ConvertHtml(outputString, stream, htmlToPdfOptions);
byte[] outPdfBuffer = stream.ToArray();
EO.Pdf.HtmlToPdf.ClearResult();
return new MemoryStream(outPdfBuffer);
LINQ IT
Posted: Monday, October 16, 2017 6:25:34 PM
Rank: Advanced Member
Groups: Member

Joined: 11/8/2015
Posts: 42
Is there any suggestions? I hate to just ‘assume’ this occurs because he html file is too large.
eo_support
Posted: Tuesday, October 17, 2017 10:31:31 AM
Rank: Administration
Groups: Administration

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

Sorry about late replying. This can either because the HTML file is too large or a problem on our side. We did fix a number of scenarios that can cause this problem, so please make sure that you update to the latest build first. If the problem still occurs frequently, please try to isolate the problem into a test project and send the test project to us. We will need to investigate further here in that case. You can find more information on sending test project to us here:

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

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.