Rank: Member Groups: Member
Joined: 5/27/2015 Posts: 12
|
We are using EO 2016 for our ASPX.net application to generate PDF reports. The reports are designed in HTML and then we use HtmlToPdf to convert to a PDF file on our server. One report includes an embedded image from our web server (image is variable depending on customer). If the image is large (file size), we receive the following error:
Browser engine failed to render page. WebView is closed. Reason: RenderCrash
For the vast majority of customers the PDF generates fine, it appears to be only those with large file size image. The images come from our client on a web download and are stored on our server for view. We do not modify the images on download, most are under 1 MB, some I have seen as large as 30 MB.
Not sure if the answer to this problem is image manipulation or if there is a setting to get even large images to render properly.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi, This usually indicates an out of memory error. You can try to set this property to true and see if it resolves the issue for you: http://www.essentialobjects.com/doc/eo.base.runtime.enablelargeaddressspace.aspxIf that still does not resolve the issue, you can try to isolate the problem into a test project and send the test project to us. See here for more details: http://www.essentialobjects.com/forum/test_project.aspxOnce we have that we will investigate further. Thanks!
|
Rank: Member Groups: Member
Joined: 5/27/2015 Posts: 12
|
Adding that setting worked. The PDF takes long to load because it is 20+ MB, but it does not crash.
Thanks for the help!
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Glad to hear that it works for you!
|