AutoUpdater.NET icon indicating copy to clipboard operation
AutoUpdater.NET copied to clipboard

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

Open DSPaul opened this issue 1 year ago • 2 comments

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.<ThrowAsync>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?

DSPaul avatar Sep 02 '24 06:09 DSPaul

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

ravibpatel avatar Sep 02 '24 07:09 ravibpatel

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

DSPaul avatar Sep 02 '24 08:09 DSPaul