I summary of common errors in ArcGIS API for JavaScript

Source: Internet
Author: User
Tags repetition

1.

2. Object does not support the "replace" property or method

Solution: Generally in IE, the implementation of JS will report such errors, the basic problem is that you refer to an object does not exist in the method, it may be that the method exists and you write wrong, or call this method when the illegal parameters, but this is only careless, there is the reason for the name repetition, The custom method name and the original repetition.

3.iis HTTP Error 403.14-forbidden Web issue

If the directory browsing is checked in the IIS server;

An HTTP error occurred while testing the Web site in the local IIS server 403.14-forbidden the Web server was configured not to list the contents of this directory, which depressed me for a long time, and then found a way to solve the problem. The problem is that directory browsing is not enabled, and directory browsing can be enabled in IIS Manager.

  1. Open IIS Manager

  2. In the features view, click Directory Browsing, and on the Directory browsing page, in the actions pane, click Enable

  3. Confirm that the Configuration/system.webserver/[email protected] attribute in the site or application configuration file is set to True.

    Click the Open feature click Enable, now try it on OK.

(2) Find IIS Express Enter the above characters in CMD to succeed

I summary of common errors in ArcGIS API for JavaScript

Related Article

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.