Welcome Guest Search | Active Topics | Sign In | Register

Threadrunner CreateWebView() crashing with error EO.Internal.jr+e: Child process exited unexpectedly Options
RayGuy71
Posted: Monday, May 28, 2018 8:06:55 PM
Rank: Newbie
Groups: Member

Joined: 5/24/2018
Posts: 2
We are using ThreadRunner to create a headless instance of a web view, which works well on my machine.

However, when I publish and attempt to run my application as an Azure web app, my call to CreateWebView() always fails with the following error:

EO.Internal.jr+e: Child process exited unexpectedly.
at EO.Base.ThreadRunnerBase.f.a(Int32 A_0, Boolean& A_1)
at EO.Base.ThreadRunnerBase.Send(ActionWithResult action, Int32 timeoutInMS, Boolean& done)
at EO.Base.ThreadRunnerBase.Send(ActionWithResult action, Int32 timeoutInMS)
at EO.WebBrowser.ThreadRunner.Send(WebViewCallback callback, WebView webView, Object args)
at EO.WebBrowser.ThreadRunner.a(Int32 A_0, Int32 A_1, Boolean A_2, BrowserOptions A_3)
at EO.WebBrowser.ThreadRunner.CreateWebView(BrowserOptions options)


I have tried setting the "EnableEOWP" setting to true (https://www.essentialobjects.com/doc/common/eowp.aspx) and including "eowp.exe" in the installation folder but still get the same error.

There is some discussion on the forum that an antivirus program might be the cause, but we don't seem to have any control over antivirus settings in the Azure web app platform as far as I can tell.

So just wondering if it is possible to use ThreadRunner to create a headless web view when deployed as an Azure web app. This is a major problem for us, so any suggestions would be greatly appreciated.
eo_support
Posted: Wednesday, May 30, 2018 3:55:16 PM
Rank: Administration
Groups: Administration

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

You will not be able to use EO.WebBrowser in an Azure WebApp application. You will need an Azure Virtual Machine. Azure WebApp is a shared environment so Microsoft restricts what your application can do so that your code does not accidentally bring down other sites that are running on the same server. Because EO.WebBrowser needs to make numerous system API calls which are not allowed on such a shared environment, it is not possible for you to use EO.,WebBrowser in Azure App. An Azure Virtual Machine does not have such restriction so you can use it with EO.WebBrowser without problems.

Thanks!
RayGuy71
Posted: Wednesday, May 30, 2018 5:06:38 PM
Rank: Newbie
Groups: Member

Joined: 5/24/2018
Posts: 2
Okay, thank you for letting us know.
eo_support
Posted: Wednesday, May 30, 2018 5:47:15 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,258
You are very welcome. Please feel free to let us know if you have any other questions.


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.