-
Notifications
You must be signed in to change notification settings - Fork 89
WebView hangs in EndInit() when run as administrator #50
Comments
I can confirm this behaviour (I run VS as admin to debug local IIS websites). Running VS as ordinary user makes it Work. I have tried this with different applications, the only requirement to reproduce is to run as admin. |
This also happens when you use new version of Toolkit v.5. Exception being raised in InitializeComponent method is: Can someone get insight how to overcome this? and what is the real reason.. here is stack trace:
|
Yes with v5 the problem is still there... Could someone please explain how to overcome this? |
I'm using 6.0, and am a bit flabbergasted to see such a blocking bug, that is so easy to reproduce, continues to be present in multiple major versions. Why isn't this getting fixed? I want to use the control in an application that must run as administrator. This is clearly a bug, and in my case makes the control completely useless. |
Any updates on this? This is still an issue in Microsoft.Toolkit.Forms.UI.Controls.WebView v6.0 |
THANK YOU! I had the same issue, have been pulling my hair out for 2 days now. |
Arrggghhh. This is a real gotcha; I use this control in a class library for oAuth2 authorisation. But the consuming app requires VS to be run as Admin. Even consuming the library as Release means that the end app receives this error. So effectively the control is useless in any app that requires Admin rights. What a joke. (Yes, I know about WebView2 but it is VERY heavy for a class library when it's only used in a very minor sense. |
I'm submitting a...
Bug report (I searched for similar issues and did not find one)
Current behavior
Start Visual Studio as administrator.
Create a new WinForms application.
Add a WebView control to the form.
Run the application.
The form does not appear. When you click "Break All " to pause debugging, the current debugging location is inside "((System.ComponentModel.ISupportInitialize)(this.webView1)).EndInit();" in InitializeComponents().
Expected behavior
The WinForm should open the web page normally.
Minimal reproduction of the problem with instructions
Run the application.
Environment
Nuget Package(s):
Microsoft.Toolkit.Win32.UI.Controls 4.0.2
Windows 10 Build Number:
April 2018 Update (17134)
App min and target version:
I'm not sure where to find this.
Device form factor:
Desktop
Visual Studio
2017 (version: 15.7.6)
The text was updated successfully, but these errors were encountered: