Welcome Guest Search | Active Topics | Sign In | Register

Browser engine failed to render page. WebView is closed. Reason: EngineCrash Options
jkirsch
Posted: Friday, August 26, 2016 4:50:28 PM
Rank: Newbie
Groups: Member

Joined: 8/12/2016
Posts: 6
Hello,

we are receiving the following issue of
Browser engine failed to render page. WebView is closed. Reason: EngineCrash.
The DLLs are wired up for version .EO.Pdf.16.1.68.0. This includes, engine, base, pdf, browser, in our Web Project.
Wanted to see if there was any insight on what would cause this to occur?

Also to note: this does occur both with options passed in or not with on our call to
Code: C#
HtmlToPdf.ConvertHtml(pageHtml, pdfBaseDocument);


Many thanks, - James

Code: C#
[Exception: Browser engine failed to render page. WebView is closed. Reason: EngineCrash]
   EO.Base.d.a(Int32 A_0, Boolean& A_1) +136
   EO.Base.ThreadRunnerBase.Send(Action action, Int32 timeoutInMS) +123
   EO.Internal.o4.a(adx A_0, String A_1, String A_2, String A_3, Int32 A_4, Int32 A_5, String A_6, Boolean A_7) +223
   EO.Pdf.HtmlToPdfSession.a(adx A_0, String A_1, String A_2, Int32 A_3, Int32 A_4, String A_5, Boolean A_6) +311
   EO.Pdf.HtmlToPdf.ConvertHtml(String html, PdfDocument doc, HtmlToPdfOptions options) +155
   print_generate.GeneratePdfUsingEo() in C:\Workspace\CA\Accreditation Web\print-generate.aspx.cs:103
   print_generate.Page_Load(Object sender, EventArgs e) in C:\Workspace\CA\Accreditation Web\print-generate.aspx.cs:55
   System.Web.UI.Control.OnLoad(EventArgs e) +109
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4498


Here is the HTML code being run

Code: HTML/ASPX


<!doctype html>
<html lang="en">
<head><meta charset="utf-8"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><title>
	Print Requirement | 
</title><link href="https://school1.compliance-assist.com/accreditation/App_Themes/Default/Site.css" rel="stylesheet" type="text/css"><link id="ctl00_placeholderCss" href="https://school1.compliance-assist.com/accreditation/resources/inst_2d29f9faf61d448fb921efe244ccaf0a/site_63ee4bc6a28d485ca669b22ff91527b1/2016-08-09T08_29_43.css" rel="stylesheet" type="text/css">

    
<style id="ctl00_stlCustomFonts" type="text/css">
        .caFontHeader {
            font-size: 12pt;
        }

        .caFontEditorHeader1, .print h1 {
            font-size: 14pt;
        }

        .caFontEditorHeader2, .print h2 {
            font-size: 10pt;
        }

        .caFontContent, .print .RadTreeView ul, .print .RadTreeView ul a.rtIn {
            font-size: 10pt;
        }

        p {
            margin: 0;
        }
        .print, .print table, .print td, .print img, .print p, .print ul, .print span, .print div {
            max-width: 11in !important;overflow-x: hidden !important;
        }
    </style></head>
<body style="background-color: #fff; background-image: none;">
    <form method="post" action="./print-requirement.aspx?id=8623f35d-4c2e-e611-96b0-001c42ba9bc7" id="aspnetForm">
<div class="aspNetHidden">
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="">
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="">
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="EWXn1QlWtQu47WjzxAWYRcMXoyQYAV6nkDr8Y0XT8TpUlV8dxjb+JwZ4U6EzIn2T0bK+eww6uCBj+tP7dNSVZQt4oxSWqKwByeMZAHnOLQ/lQ5zjO850ztXgse2KfZdEDg7TzP5wcGUHmY2Ypdt6x8iw9elNEJPe3MxYaejwgyE=">
</div>

<script type="text/javascript">
//<![CDATA[
var theForm = document.forms['aspnetForm'];
if (!theForm) {
    theForm = document.aspnetForm;
}
function __doPostBack(eventTarget, eventArgument) {
    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;
        theForm.submit();
    }
}
//]]>
</script>


<script src="/accreditation/WebResource.axd?d=pynGkmcFUV13He1Qd6_TZHKoWH579nbNIf9zZATxSyXcUEEYw1yfralrUuVF92WK9HsfhtP78wO45ppoxI8aOg2&amp;t=635918573446045612" type="text/javascript"></script>


<script src="/accreditation/ScriptResource.axd?d=nnHyWnZ5bTPuYszCeiYmK110Tvz7YsNXIsKCJhWGvnH8tA0g7oG5MnVLll6cI_6fbix4Sy6Wj2EGKu2lNm8zxB8XwLrOo_ga_rlnUTDc-RrWRVXH_UgAb1TubX8jt2pONZ7SDfxBn3o5e13ripInMCMGEDVKxI6KcD_kNSp1qYM1&amp;t=40eb3b32" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
if (typeof(Sys) ==='undefined') throw new Error('ASP.NET Ajax client-side framework failed to load.');
//]]>
</script>

<script src="/accreditation/ScriptResource.axd?d=geiJw278ELCE4oVrRV2zH6boUrPBMR38PGkBSPrsizw74aq-h9_4ut6aMWCLlWnguD7pG1xdK7rYQtr6T2fvnjp2Ts9x8VMycIGtDmz0Vt9MaetExge-cm6dYTW45aeit6ncWmERaBzyuEvSstMMtoHX3uWaNCPw5Yi8lzxF5lB5gdK2a1KzwyLgVLRhA9aK0&amp;t=40eb3b32" type="text/javascript"></script>
<div class="aspNetHidden">

	<input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="E4FB101E">
	<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="CxIcaflBhLrmb1Ffpx9XS6g3Y9xOHbHPEdbR3jeSgcXsD3T9bxMwtqb3AS9Uc9ozxTNfWq1gAQz3e12QsdnjB7CqzyY93nyNL20GkVsouBtjsdb5AhJfsKWtiJH1uOpI/Nz5K8RshFoenqVRit+Xc+vm+879NPC9KJ/gSf3dAV3mnBMEsbXEljox3UUAkgPE">
</div>
        <div>
            <script type="text/javascript">
//<![CDATA[
Sys.WebForms.PageRequestManager._initialize('ctl00$ScriptManager1', 'aspnetForm', [], [], [], 90, 'ctl00');
//]]>
</script>

            
    <table class="print" cellspacing="0" id="ctl00_ContentPlaceHolder1_FVRequirement" style="width:100%;border-collapse:collapse;">
	<tr>
		<td colspan="2">
            <input type="hidden" name="ctl00$ContentPlaceHolder1$FVRequirement$HFCCID" id="ctl00_ContentPlaceHolder1_FVRequirement_HFCCID" value="4823f35d-4c2e-e611-96b0-001c42ba9bc7">
            <!-- **!!BEGIN REQUIREMENT!!** -->
            
            <div id="ctl00_ContentPlaceHolder1_FVRequirement_PNumber">
			
                <span id="ctl00_ContentPlaceHolder1_FVRequirement_LNumber" class="caFontHeader req-print-section-header req-print-section-header-bookmark">FR - 4.9</span>
                <br><br>
            
		</div>
            
            
            <div id="ctl00_ContentPlaceHolder1_FVRequirement_PTitle" class="req-print-section">
			
                <span id="ctl00_ContentPlaceHolder1_FVRequirement_LTitle" class="caFontHeader req-print-section-header">Definition of Credit Hours</span>
            
		</div>
            
            
            <div id="ctl00_ContentPlaceHolder1_FVRequirement_PDescription" class="req-print-section-text">
			
                <span id="ctl00_ContentPlaceHolder1_FVRequirement_LDescription" class="caFontContent">The institution has policies and procedures for determining the credit hours awarded for courses and programs that conform to commonly accepted practices in higher education and to Commission policy. <strong><em>(Federal Requirement 4.9)</em></strong></span>
            
		</div>
            
            
            
            
            
            <div id="ctl00_ContentPlaceHolder1_FVRequirement_Panel2" class="req-print-section">
			
                <br>
                <span id="ctl00_ContentPlaceHolder1_FVRequirement_Label3" class="caFontHeader req-print-section-header">Judgment</span>
                <br>
                
                        <input type="hidden" name="ctl00$ContentPlaceHolder1$FVRequirement$Repeater2$ctl00$HFJID" id="ctl00_ContentPlaceHolder1_FVRequirement_Repeater2_ctl00_HFJID" value="5a23f35d-4c2e-e611-96b0-001c42ba9bc7">
                        <img id="ctl00_ContentPlaceHolder1_FVRequirement_Repeater2_ctl00_IJudgment" src="https://school1.compliance-assist.com/accreditation/App_Themes/Default/images/judgment_unchecked.gif" alt="Judgment Icon">  <span id="ctl00_ContentPlaceHolder1_FVRequirement_Repeater2_ctl00_Label4" class="caFontContent">Compliant</span>
                    
                          
                    
                        <input type="hidden" name="ctl00$ContentPlaceHolder1$FVRequirement$Repeater2$ctl02$HFJID" id="ctl00_ContentPlaceHolder1_FVRequirement_Repeater2_ctl02_HFJID" value="5b23f35d-4c2e-e611-96b0-001c42ba9bc7">
                        <img id="ctl00_ContentPlaceHolder1_FVRequirement_Repeater2_ctl02_IJudgment" src="https://school1.compliance-assist.com/accreditation/App_Themes/Default/images/judgment_unchecked.gif" alt="Judgment Icon">  <span id="ctl00_ContentPlaceHolder1_FVRequirement_Repeater2_ctl02_Label4" class="caFontContent">Non-Compliant</span>
                    
                          
                    
                        <input type="hidden" name="ctl00$ContentPlaceHolder1$FVRequirement$Repeater2$ctl04$HFJID" id="ctl00_ContentPlaceHolder1_FVRequirement_Repeater2_ctl04_HFJID" value="5c23f35d-4c2e-e611-96b0-001c42ba9bc7">
                        <img id="ctl00_ContentPlaceHolder1_FVRequirement_Repeater2_ctl04_IJudgment" src="https://school1.compliance-assist.com/accreditation/App_Themes/Default/images/judgment_unchecked.gif" alt="Judgment Icon">  <span id="ctl00_ContentPlaceHolder1_FVRequirement_Repeater2_ctl04_Label4" class="caFontContent">Not Applicable</span>
                    
                
            
		</div>
            
            <div id="ctl00_ContentPlaceHolder1_FVRequirement_Panel11" class="req-print-section-text">
			
                <br>
                <span id="ctl00_ContentPlaceHolder1_FVRequirement_Label9" class="caFontHeader req-print-section-header">Narrative</span>
                <br>
                <span id="ctl00_ContentPlaceHolder1_FVRequirement_Label10" class="caFontContent"></span>
            
		</div>
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            <!-- **!!END REQUIREMENT!!** -->
        </td>
	</tr>
</table>
    
    

        </div>
    </form>
</body>
</html>



Footer Format in options:
Code: HTML/ASPX
<div style="height:17px;width:100%;clear:both;color: #303030; font-family: 'Verdana', sans-serif; font-size: 10; border-top: 1px; border-top-style: solid; border-top-color: black;"><div style='float:left;'>School1</div><div style='float:right;'>Page {page_number} / {total_pages}</div></div>


eo_support
Posted: Friday, August 26, 2016 5:42:15 PM
Rank: Administration
Groups: Administration

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

We have just emailed you early about exactly what caused this error and you have confirmed that the workaround works. Is this a different issue than that one?

Thanks!
jkirsch
Posted: Friday, August 26, 2016 9:31:43 PM
Rank: Newbie
Groups: Member

Joined: 8/12/2016
Posts: 6
eo_support wrote:
Hi,

We have just emailed you early about exactly what caused this error and you have confirmed that the workaround works. Is this a different issue than that one?

Thanks!


Hello,

Thank you for the excellent support and response you guys have been offering so far!
Unfortunately this was a separate issue. The prior was a different exception of:

[Exception: Browser engine failed to render page. Failed on command 4]

And this was due to the style sheet background image attributes having linear-gradients that would try to render html as an entire image and run out of memory, as you have explained, and we were very happy we resolved that thanks to your help.

The issue brought up in the post was related to this exception:

[Exception: Browser engine failed to render page. WebView is closed. Reason: EngineCrash]

I got this exception using version 16.1.68 and seemed to happen on just about any HTML I would try to convert.

I just upgraded to the (currently latest) EO Pdf version of 16.1.87 and the issue seems to have gone away, also previous versions were not causing the issue I posted. Upgrading seemed to be the solution.

Thanks - James

eo_support
Posted: Friday, August 26, 2016 9:45:22 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,080
Ah I see. We are not aware of any changes between .68 and .87 that would fix an engine crash issue. So I can not confirm that issue indeed has been fixed. If the problem occurs again, please separate the issue into a zip file and send it to us as you did for the previous issue. Usually as soon as we can reproduce it here we can get to the bottom of it.

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.