ImageGlass icon indicating copy to clipboard operation
ImageGlass copied to clipboard

Store version error but direct download works fine

Open ghost opened this issue 1 year ago • 5 comments

System Information

Version: igcmd v9.0.10.201 (Store) Release code: kobe Magick.NET: Magick.NET Q16-HDRI-OpenMP x64 netstandard21 13.5.0 WebView2 Runtime: 100.0.1185.36 OS: Microsoft Windows NT 10.0.22631.0 64-bit Windows 11 Pro 23H2 22631.3085

I decided to support the dev and purchased this from the microsoft store after using it without issue. I can't get past the first run setup of the store version as I get the following error:

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: No such interface supported (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: No such interface supported (0x80004002 (E_NOINTERFACE)). at Microsoft.Web.WebView2.Core.CoreWebView2WebMessageReceivedEventArgs.get__nativeICoreWebView2WebMessageReceivedEventArgs2()

Additional context:

I have run repair on webview2 and .net 8.0.1. and that has not helped. I have uninstalled the windows store version and installed the direct download using the msi installer for 9.0.10.201 and the msi version is working without issue.

I notice in the error message it says webview2 is 100.0.1185.36 but I am certain I have 121.0.2277.106 installed and as I said I've run repair and re-installed.

ghost avatar Feb 07 '24 07:02 ghost

Hi @Tabakai Can you verify the version of WebView2 Runtime in "Installed app" setting?

image

You can try uninstalling it, then download and install again from this link: https://go.microsoft.com/fwlink/p/?LinkId=2124703

d2phap avatar Feb 07 '24 08:02 d2phap

Screenshot - Copy

Uninstall is greyed out. I can "repair" it and I have. If I download from the link and run it, it simply says that it's already installed.

njkdev avatar Feb 07 '24 08:02 njkdev