MicrosoftEdge / MicrosoftEdge/WebView2Feedback

[Problem/Bug]: ICoreWebView2CreateCoreWebView2ControllerCompletedHandler encountered error code 0x80010108(RPC_E_DISCONNECTED)

Open
#4,654 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
PowerShell
Stars
526
Forks
67
PR merge metrics
No merged PRs in 30d

Description

What happened?
  1. Call the interface CreateCoreWebView2ControllerWithOptions
  2. In the callback function (ICoreWebView2CreateCoreWebView2ControllerCompletedHandler), the HRESULT result parameter encountered an error code of 0x80010108

Important clues:
On the same computer:
MSI installation package (installed in the system directory), no error
exe installation package (installed in the user AppData directory) error

Importance

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

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

126.0.2592.81

SDK Version

1.0221

Framework

Win32

Operating System

Windows 10, Windows 11

OS Version

No response

Repro steps
  1. Run the client
  2. Create a WebView
Repros in Edge Browser

No, issue does not reproduce in the corresponding Edge version

Regression

Don't know

Last working version (if regression)

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the CreateCoreWebView2ControllerWithOptions call and its ICoreWebView2CreateCoreWebView2ControllerCompletedHandler callback. Reproduce the 0x80010108 result on Windows 10 or 11, comparing the MSI installation in the system directory with the executable installed under user AppData; done means identifying why only the latter fails or documenting the required fix.

Written by the indexing model from the issue text.

Assessment

Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.