Welcome Guest Search | Active Topics | Sign In | Register

Azure Worker Role causes "This WebView either has already been destroyed or is being destroyed" Options
JMDC
Posted: Thursday, May 25, 2017 10:05:07 PM
Rank: Newbie
Groups: Member

Joined: 5/25/2017
Posts: 5
Hi, I am using Eo.PDF v17.1.55.

I use HtmlToPdf.ConvertHtml to covert html to pdf, the html include D3.js visualization designs, WebFonts, svg picture.

Quote:
HtmlToPdf.ConvertHtml(p1.Render(), doc, htmlToPdfOptions);



When I use Azure Worker Role with service hub to run my source, I get exception like above.


Quote:

System.Exception: This WebView either has already been destroyed or is being destroyed.
at EO.Base.Runtime.a(Object A_0, Exception A_1, Boolean A_2)
at EO.WebBrowser.WebView.s()
at EO.WebBrowser.WebView.LoadHtml(String html, String baseUrl)
at EO.Internal.o9.a(adj A_0, String A_1, String A_2, String A_3, Int32 A_4, Int32 A_5, String A_6, Boolean A_7)
at EO.Pdf.HtmlToPdfSession.a(adj A_0, String A_1, String A_2, Int32 A_3, Int32 A_4, String A_5, Boolean A_6)
at EO.Pdf.HtmlToPdf.ConvertHtml(String html, PdfDocument doc, HtmlToPdfOptions options)
at WorkerRoleCreatPdf.WorkerRole.DoBussiness(PdfViewInfo viewInfo) in
at WorkerRoleCreatPdf\WorkerRole.cs:line 261


I will be looking forward to your reply.
Thanks & Regards,
eo_support
Posted: Friday, May 26, 2017 2:21:19 PM
Rank: Administration
Groups: Administration

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

Do you get this error every time? If so please enable crash report:

https://www.essentialobjects.com/doc/common/crash_report.aspx

If you use automatic crash report, please let us know your ApplicationID and we will then check our crash report server to see if we can find any additional information.

Thanks!
JMDC
Posted: Sunday, May 28, 2017 9:33:54 PM
Rank: Newbie
Groups: Member

Joined: 5/25/2017
Posts: 5
It crashed by throw EO.Base.ChildProcessOutOfMemoryException. It is reported by another issue.


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.