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
This is crazy! I got a System.Runtime.InteropServices.COMException: 'The group or resource is not in the state required to perform the requested operation. (0x8007139F)' at very simple sample Application. I simplify made basic Microsoft Visual Studio 2022 Windows c# Forms Application and add latest stable version of that Microsoft.Web.WebView2 nuget package, some Designer changes and that code below:
using Microsoft.Web.WebView2.Core;
using Microsoft.Web.WebView2.WinForms;
public void Form1_Load(object sender, EventArgs e)
{
initBrowser();
}
public async void initBrowser()
{
await webView21.EnsureCoreWebView2Async(null);
webView21.CoreWebView2.Navigate("https://meet.google.com");
}
Everything, other code and settings etc. are exactly at default values.
And one very strange thing is that at first this code worked perfectly fine, but then once I ran again my project I got this error.
I tred to found something from the internet, but everything info about these I found not worked for me or was too hard to understand... :(
Can someone please help me!
Things I have tried:
Changing the code
Reinstalling the nuget package
Using different (older) versions of the nuget package
Creating new clear project
Disabling firewall
Fixing Microsoft Edge WebView2 Runtime from Control Panel
Blocking. My app's basic functions are not working due to this issue.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
1.0.2151.40
SDK Version
1.0.2151.40
Framework
Winforms
Operating System
Windows 10
OS Version
19045.3693
Repro steps
It seems that if I change the solution this error appears and this might be some kind of cache error. So if I took Microosft's Webview2 Sample Repo, it worked for a while, but when I removed one other project from this solution, it also stops working.
Repros in Edge Browser
Not Applicable
Regression
Don't know
Last working version (if regression)
No response
The text was updated successfully, but these errors were encountered:
What happened?
This is crazy! I got a System.Runtime.InteropServices.COMException: 'The group or resource is not in the state required to perform the requested operation. (0x8007139F)' at very simple sample Application. I simplify made basic Microsoft Visual Studio 2022 Windows c# Forms Application and add latest stable version of that Microsoft.Web.WebView2 nuget package, some Designer changes and that code below:
Everything, other code and settings etc. are exactly at default values.
And one very strange thing is that at first this code worked perfectly fine, but then once I ran again my project I got this error.
I tred to found something from the internet, but everything info about these I found not worked for me or was too hard to understand... :(
Can someone please help me!
Things I have tried:
Changing the code
Reinstalling the nuget package
Using different (older) versions of the nuget package
Creating new clear project
Disabling firewall
Fixing Microsoft Edge WebView2 Runtime from Control Panel
Changing network
Importance
Blocking. My app's basic functions are not working due to this issue.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
1.0.2151.40
SDK Version
1.0.2151.40
Framework
Winforms
Operating System
Windows 10
OS Version
19045.3693
Repro steps
It seems that if I change the solution this error appears and this might be some kind of cache error. So if I took Microosft's Webview2 Sample Repo, it worked for a while, but when I removed one other project from this solution, it also stops working.
Repros in Edge Browser
Not Applicable
Regression
Don't know
Last working version (if regression)
No response
The text was updated successfully, but these errors were encountered: