Microsoft.Web.WebView2 throws an System.Runtime.InteropServices.COMException (0x8007139F) randomly #4217
Replies: 1 comment
-
Closing discussion as it's reported as a bug in #4218 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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
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.
Beta Was this translation helpful? Give feedback.
All reactions