You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.Web.WebView2.Core.Raw.ICoreWebView2WebMessageReceivedEventArgs2
#1722
Closed
ruben1PvP opened this issue
Nov 26, 2023
· 3 comments
As it is the first time I install ImageGlass (after updating from 8.X), I need to open the Quick Setup while trying to open an image, so this error render the software useless.
Version:` igcmd v9.0.7.1125
Release code: kobe
OS: Microsoft Windows NT 10.0.19045.0 64-bit
----------------------------------------------------
Error:
Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.Web.WebView2.Core.Raw.ICoreWebView2WebMessageReceivedEventArgs2'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{06FC7AB7-C90C-4297-9389-33CA01CF6D5E}' failed due to the following error: Interfaz no compatible (0x80004002 (E_NOINTERFACE)).
----------------------------------------------------
System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.Web.WebView2.Core.Raw.ICoreWebView2WebMessageReceivedEventArgs2'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{06FC7AB7-C90C-4297-9389-33CA01CF6D5E}' failed due to the following error: Interfaz no compatible (0x80004002 (E_NOINTERFACE)).
at Microsoft.Web.WebView2.Core.CoreWebView2WebMessageReceivedEventArgs.get__nativeICoreWebView2WebMessageReceivedEventArgs2()
The text was updated successfully, but these errors were encountered:
It looks like I forgot I didn't have WebView2 installed in this PC, so I just installed it from here and the error is now fixed.
This is indeed the solution.
And I was getting the "Installation failed" error while trying to install webview2 runtime, saying that webview2 runtime is already installed. But actually it was not, and I had to run the installer as Admin to properly install it.
System information:
To Reproduce
Steps to reproduce the behavior:
Actual behavior:
As it is the first time I install ImageGlass (after updating from 8.X), I need to open the Quick Setup while trying to open an image, so this error render the software useless.
Expected behavior:
The Setup closes and lets me use the software.
Screenshots:
https://exploiter.info/07dwlftz.png
Additional context:
The whole message is:
The text was updated successfully, but these errors were encountered: