Hi,
We use EO libraries for our .NET framework application and recently upgraded EO from 21.2.47.0 to 25.0.26.0
The application runs on an Azure virtual machine running Windows 11 Pro.
There is now an issue that occurs intermittently, when the application creates a WebView, the window shows up for a split second before being closed and exiting the application.
This is the error:
Quote:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> EO.Internal.gcsu+wrfu: Child process exited unexpectedly.
at EO.Internal.gcsu.gerc(Exception nns, Boolean nnt)
at EO.Internal.gcsu.gerb(gcot nnp)
at EO.Internal.gcsu.geqp(Boolean& nmn, Type[] nmo, String nmp, String nmq)
at EO.Internal.gcsu.apoy(Type[] nmk, String nml, String nmm)
at EO.Internal.gcsv.apoy(String nsc, String nsd)
at EO.Internal.blfc.iqgq()
at EO.Internal.blfc.mgvj.mpmg()
at EO.Internal.gcok.nfce(Action luu)
at EO.Internal.blfc.xggc(WindowsIdentity hi)
at EO.WebEngine.Engine.Start(WindowsIdentity user)
at EO.Internal.viee..ctor(WebView d)
at EO.WebBrowser.WebView.kqvm()
at EO.WebBrowser.WebView.kqvm(IntPtr fh, Boolean fi)
at EO.WebBrowser.WebView.Create(IntPtr hWnd)
at EO.Wpf.WebViewHost.samv.tsbm()
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
We ran Windows update and upgraded EO again to see if that fixes the issue, these are the scenarios:
EO 21.2.47.0 on Windows 22H2 - no issue
EO 25.0.26.0 on Windows 22H2 - frequent errors
EO 25.0.50.0 on Windows 22H2 - frequent errors
EO 25.0.50.0 on Windows 24H2 - occasional errors
So currently we are using EO 25.0.50.0 on Windows 24H2 with latest updates, which has helped, but not eliminated the problem.
And using these settings:
Code: C#
EO.Base.Runtime.EnableEOWP = true;
EO.WebBrowser.Runtime.DefaultEngineOptions.DisableBuiltInPlugIns = true;