d2phap / d2phap/ImageGlass

Store version error but direct download works fine

Open
#1,845 5 comments 1 reaction 1 assignee View on GitHub

@d2phap is already working on this.

Since Feb 7, 2024.

🐞 bug 🧠 check later
Dominant language
C#
Stars
14.4k
Forks
752
Avg merge
10d 14h
Merged PRs (30d)
1

Description

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.

Contributor guide

Open the contributing guide

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.