Replies: 9 comments
-
EdgeView2 clearly uses different method to start msedgewebview2.exe processes on Win7. If you kill eplorer.exe then EdgeVeiw2 controller creation fails with error "Class not registered", this does not happen on other Windows versions. "Class not registered" comes from the same IShellWindows interface creation failure. Looks like it is hosted in explorer.ee, which now explains "access is denied" error - low integrity process cannot communicate to high integrity explorer.exe process via COM. It seems there is no any workaround until IShellWidows interface usage is eliminated from EdgeView2. |
Beta Was this translation helpful? Give feedback.
-
On Win7, if the application is in a job that doesn't allow child processes to breakaway, we have to launch webview browser process through explorer so that Chromium's sandboxing for child browser process works. That is why IShellWidows is used. On later Windows version, nested jobs are supported and there is no such restriction. |
Beta Was this translation helpful? Give feedback.
-
OK. Thanks! That explains things, going with the medium IL for now. |
Beta Was this translation helpful? Give feedback.
-
Hi, I have been reading this thread as I have the explorer.exe problem. In my case, I am working with the webview2 runtime at publication RDP level. As the publication does not work with the explorer.exe, it cannot launch the IShellWindows, giving an unregistered class error. As you say this happens only with this operating system. Is there any solution to make webview2 work at the RDP publication level? |
Beta Was this translation helpful? Give feedback.
-
I am also concerned about this issue, and would like to ask which of the following error codes does this error refer to? |
Beta Was this translation helpful? Give feedback.
-
The error I get is class not registered. 0x80040154 |
Beta Was this translation helpful? Give feedback.
-
@ibanvaqe Thank you for your information, according to our existing error reports, the error 0x80040154 only appears on Win7. |
Beta Was this translation helpful? Give feedback.
-
@sln162 Is there a solution for this issue? Or is it better to use a superior Windows OS? |
Beta Was this translation helpful? Give feedback.
-
@ibanvaqe There is no good way, win7 will stop supporting it as of 109. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Got a problem with low integrity process creating WebVuew2 object. My low integrity process can create WebView2 objects just fine under all OS-es from Win 8 workstation up to 2022 servers, but fails under Win 7 and 2008 r2 server..
CreateCoreWebView2Controller returns S_OK on those OS-es but the callback later fails with "access is denied" error.
I debugged the problem down to EmbeddedBrowserWebView!base::LaunchNonElevatedProcess which creates ShellWindows COM object.
CoCreateInstance call is the cause of "access is denied" error. which gets propagated up to the callback.
Interesting is that this COM object does not even get created on other OS-es
Changing process to be "medium level" helps resolving the problem but that is not a solution.
ActiveX based IE engine works fine in the same scenarios.
Any advise how to resolve or workaround the problem?
thanks!
Beta Was this translation helpful? Give feedback.
All reactions