Thank you for seeking help! Our friendly community is here to assist you.
To assist you better, please consider providing:
- Objective: Trying to login to the application but unable to access login interface - Revit 2026.1
- Issue: Plugin crashes on startup, Blank Page
- Logs:
2025-06-12 10:23:56.453 +07:00 [ERR] An unhandled Exception occured
System.InvalidOperationException: Webview Failed to initialize
—> System.NotImplementedException: Unable to cast to Microsoft.Web.WebView2.Core.Raw.ICoreWebView2Environment.
This may happen if you are using an interface not supported by the version of the WebView2 Runtime you are using.
For instance, if you are using an experimental interface from an older SDK that has been modified or removed in a newer runtime.
Or, if you are using a public interface from a newer SDK that wasn’t implemented in an older runtime.
For more information about WebView2 versioning please visit the following: Prerelease and Release SDKs for WebView2 - Microsoft Edge Developer documentation | Microsoft Learn
—> System.InvalidCastException: Unable to cast COM object of type ‘System.__ComObject’ to interface type ‘Microsoft.Web.WebView2.Core.Raw.ICoreWebView2Environment’. This operation failed because the QueryInterface call on the COM component for the interface with IID ‘{B96D755E-0319-4E92-A296-23436F46A1FC}’ failed due to the following error: No such interface supported (0x80004002 (E_NOINTERFACE)).
at Microsoft.Web.WebView2.Core.CoreWebView2Environment.get__nativeICoreWebView2Environment()
— End of inner exception stack trace —
at Microsoft.Web.WebView2.Core.CoreWebView2Environment.get__nativeICoreWebView2Environment()
at Microsoft.Web.WebView2.Core.CoreWebView2Environment.CreateCoreWebView2ControllerAsync(IntPtr ParentWindow)
at Microsoft.Web.WebView2.Wpf.WebView2Base.<>c__DisplayClass32_0.<g__Init|0>d.MoveNext()
— End of inner exception stack trace —
at Speckle.Connectors.Revit2026.Plugin.RevitControlWebView.OnInitialized(Object sender, CoreWebView2InitializationCompletedEventArgs e) in //Connectors/Revit/Speckle.Connectors.Revit2026/Plugin/RevitControlWebView.xaml.cs:line 60
at Speckle.Connectors.Revit2026.Plugin.RevitControlWebView.<>c__DisplayClass2_0.<.ctor>b__1() in //Connectors/Revit/Speckle.Connectors.Revit2026/Plugin/RevitControlWebView.xaml.cs:line 25
at Speckle.Connectors.DUI.Bridge.TopLevelExceptionHandler.<>c__DisplayClass5_0.b__0() in //DUI3/Speckle.Connectors.DUI/Bridge/TopLevelExceptionHandler.cs:line 44
at Speckle.Connectors.DUI.Bridge.TopLevelExceptionHandler.CatchUnhandled[T](Func`1 function) in //DUI3/Speckle.Connectors.DUI/Bridge/TopLevelExceptionHandler.cs:line 61