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.
Open IIS Manager
In the features view, click Directory Browsing, and on the Directory browsing page, in the actions pane, click Enable
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