Skip to content

[Problem/Bug]: COMException (0x80010108): The object invoked has disconnected from its clients. (RPC_E_DISCONNECTED) #5568

@fvanheeswijk

Description

@fvanheeswijk

What happened?

Since last week we are experiencing an issue on the beta channel where the creation of WebView2 components stops working sometime after our client starts.

System.Runtime.InteropServices.COMException (0x80010108): The object invoked has disconnected from its clients. (Uitzondering van HRESULT: 0x80010108 (RPC_E_DISCONNECTED))
System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
Microsoft.Web.WebView2.Core.CoreWebView2Environment.d__15.MoveNext()
--- Einde van stacktracering vanaf vorige locatie waar uitzondering is opgetreden ---
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Microsoft.Web.WebView2.WinForms.WebView2.d__25.MoveNext()

We do have an ETW file available if needed but we can only share it privately.

Importance

Blocking. My app's basic functions are not working due to this issue.

Runtime Channel

Prerelease (Edge Canary/Dev/Beta)

Runtime Version

148.0.3967.20 beta

SDK Version

1.0.3405.78

Framework

Winforms

Operating System

Windows 11

OS Version

26200.8037

Repro steps

When an user starts our application first they will see a dashboard that shows browser content via a WebView2 control, this always works fine. After some time new WebView2 controls will fail to create though, with the exception listed below. This only seems to occur after the WebView2 control has been automatically updated. Strangely enough it does work correctly the first time it is initialized (on the aforementioned dashboard).

Repros in Edge Browser

No, issue does not reproduce in the corresponding Edge version

Regression

Regression in newer Runtime

Last working version (if regression)

147.0.3912.72

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingregressionSomething used to work but doesn't anymore

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions