WebBrowser loading the Map page appears script error resolution

Source: Internet
Author: User

For this problem, I spent a whole morning to solve the problem, the online solution is almost impossible to find, so I can be able to get some inspiration from the answer of the Internet related questions, Kung Fu, eventually through the accumulation of these inspirations I finally solved the problem.

First let's take a look at the problem, in order to see the script error, I first

      Webbrowser1.scripterrorssuppressed = true;

Hidden, the error is shown in the following figure:

For this error, my first reaction is due to jquery.min.js writing is not standardized, but looked not wrong, back to think about it, this possibility is relatively small, so ruled out this situation.

My second thought was: Easyui, but soon I vetoed the idea because my north and west directions were created by Easyui, and if it was a easyui problem, then neither of these would be shown, so the idea was also wrong.

This makes people guess when openlayers problem, from the internet I get the revelation, said is WebBrowser kernel is IE6 seems to be, that is, it does not support IE8 and above the kernel browser, through the official website query openlayers 3 Get Revelation openlayers Some features ie9.0 below are not supported, I use the version is 2.13, so I guess IE9 is enough.

The way to resolve webbrowsers support IE9 is to modify the registry by following these steps:


After you add this registry and run it again, you will find that the map can be loaded.


The problem is solved, but the truth is not perfect, because, if we make the form of the client, each computer needs to modify the registry, which will bring a lot of trouble, again, I hope you can help, how to better solve the problem.




Viva----Share

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.