ravibpatel/AutoUpdater.NET

The group or resource is not in the correct state to perform the requested operation.

Opened this issue · 2 comments

DSPaul commented

Hey, I just got a crash report from a user of my app with the following Stacktrace:

System.Runtime.InteropServices.COMException (0x8007139F): The group or resource is not in the correct state to perform the requested operation. (0x8007139F) at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode) at Microsoft.Web.WebView2.Core.CoreWebView2Environment.CreateCoreWebView2ControllerAsync(IntPtr ParentWindow) at Microsoft.Web.WebView2.WinForms.WebView2.InitCoreWebView2Async(CoreWebView2Environment environment, CoreWebView2ControllerOptions controllerOptions) at AutoUpdaterDotNET.UpdateForm.InitializeBrowserControl() at System.Threading.Tasks.Task.<>c.b__128_0(Object state) 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)

Ever seen this kind of exception?

Looks like it is an issue with Webview2 runtime installed on system. You can check it here.

DSPaul commented

I guess I'll wait on the fix they mention in that issue and come back to it then. Thanks for looking into it.