Skip to content

[Problem/Bug]: ERROR:base\win\win_util.cc:1600] failed to set WebView dpi awareness of 1 #5298

@ShaunLoganOracle

Description

@ShaunLoganOracle

What happened?

Seeing ERROR entries in customers' webview2 logs.
Context: Excel add-in using WebView2 control via WinForms is seeing: System.Runtime.InteropServices.COMException (0x8007139F): The group or resource is not in the correct state to perform the requested operation. (Exception from HRESULT: 0x8007139F) during InitCoreWebView2Async().

Importance

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

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

137.0.3296.68

SDK Version

1.0.2739.15

Framework

Winforms

Operating System

Windows 10

OS Version

22H2

Repro steps

Please see the initial problem description here
Much of that same background/context still applies. I posted this new customer occurrence later in that (closed) thread: here
Since weeks have passed with no reply, I take that to mean a new Issue is needed.
The key new information for this (joint Microsoft & Oracle) customer case is that we see specific ERROR entries in the diagnostic WebView2 log captured when the customer reproduces the issue.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions