|
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);
|
|
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.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,225
|
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.aspxThanks!
|
|