WebBrowser control crashes on Windows 10

六眼飞鱼酱① 提交于 2019-12-03 21:17:41
Surce

I got the same problem with an application on Windows 10, it works fine on Windows XP / Vista / 7 / 8 / 8.1 and even in fresh installs of Windows 10, but after a few hours it stops working.

The application was developed on Visual Studio 2010 and switched up to Visual Studio 2013 Ultimate thinking that it could be an Edge / ActiveX incompatibility problem but no :(

Update

The issue is fixed in this update from Microsoft. The bug was some flash incompatibility with activeX.

EminST

I have the same problem with the webbrowser control on W8/W10, when it navigates to page which contains ActiveX(Flash).

Currently only solution to remove KB3132372 windows update. It`s can be made by cmd command:

wusa.exe /uninstall /kb:3132372 /norestart /quiet

Unfortunately Windows 8/10 will try to install it again in future. By this reason is also possible to hide this update as shown here

Maybe it helps.

I have almost the same problem about an application I developed that uses the webBrowser control. In this application I enabled the browser emulation, letting the user select the browser to use to visualize the website.
The browser emulation code sets the registry item:

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION

with a key that contains the name of the application and a value that select the browser to emulate. (8000d for IE8, 9000 for IE9, 11001 for Edge).

Few days ago, the application started to crash, without any modification to the SW. After one and half days of investigation I've found the following rules:

  • When the key is selected, the browser crashes together with my application.
  • When the key is not selected, the application doesn't crashes but it emulates an old release of IE.

I'm still investigating on this topic, if I find something more I'll publish here.

Anyway, removing the KB3132372 the problem is solved, but this KB is loaded automatically on Win10, than it's potentially desruptive if the user is not aware of the problem.

Important suggestion about KB3132372 to disable further upload of this update: it's causing many problems in many applications based on the webBrowser control. You can suggest your clients to remove it and also to use the Windows Update Show/Hide utility to hide the update (see https://support.microsoft.com/en-au/kb/3073930) because otherwise it upload again every automatic upload.

I have got the same problem, my app was running for months without problems, those days after mentioned Microsoft update had been installed:

Windows update for Flash (KB3132372)

My app crashed when dialog with embedded browser has been opened. Strange thing is that presented web page has no flash elements, after uninstalling this update (KB3132372) all works fine again.

As StefanBelo's answer the problem was Windows update for Flash (KB3132372).

Now the problem is solved in KB3133431. Just run your Windows updates and the problem should be fixed (it did for me).

paololabe

About me the problems appears only when the webbrowser component load a youtube video by the youtube iframe api. This was driving me crazy, couse some days ago everything was perfect. Confirm that the solution is removing KB3132372 using wusa.exe /uninstall /kb:3132372 /norestart /quiet

Thanks a lot.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!