MicrosoftEdge / MicrosoftEdge/WebView2Feedback

CreateCoreWebView2Controller returns 0x8000ffff (E_UNEXPECTED) when DPI set to Unaware

Open
#2,234 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Description
On one of our machines CreateCoreWebView2Controller completion handler (ICoreWebView2CreateCoreWebView2ControllerCompletedHandler) returns 0x8000ffff and as a result WebView2 initialization fails.

User data folder is created successfully and some msedgewebview2.exe processes are created, but I noticed that at least one of them exit with 0xC0000409 code (STATUS_STACK_BUFFER_OVERRUN).
I tried capturing crash dump by enabling WER registry key, but no dump was created and nothing ever logged to Event Viewer.
I also tried to reinstall WebView2 runtime but still same result.
Are there any WebView2 logs somewhere to indicate what exactly failed during initialization?

Version
SDK: 1.0.992.28
Runtime: 98.0.1108.62
Framework: Win32
OS: Win10 (21H2)

Repro Steps

Screenshots

Additional context

AB#38449280

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 by reproducing the failure at CreateCoreWebView2Controller with DPI set to Unaware, using the listed SDK, runtime, Win32 framework, and Windows version. Check the reported completion error and WebView2 process behavior; done means identifying a reliable cause or diagnostic path for the 0x8000ffff initialization failure.

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.