Click here to Skip to main content
15,884,473 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a GIS application project coded in JavaScript. When I used ESRI JS API 2.x, it worked fine. When I use ESRI JS API 3.8 (the latest), I got Microsoft JScript runtime error: xhrFailed.
Through Fiddle2, I got 502 result at: forums.arcgis.com//ajax.php?do=quickedit&p=361501. The 502 means Bad Gateway.
Do you have any idea to fix it? Thanks.
Posted
Updated 29-Jan-14 2:35am
v2
Comments
Kornfeld Eliyahu Peter 29-Jan-14 8:16am    
Why not ask the package developer?
[no name] 29-Jan-14 9:11am    
Peter: Not understand your point. Could you hint me more explicitly? Thanks.
Kornfeld Eliyahu Peter 29-Jan-14 9:14am    
You are using a commercial API. ESRI - the developer - has support options (forum), and you may ask them!
Have you tried any links suggested by Google?
[no name] 29-Jan-14 9:09am    
Tried but no effective answer. Any hint? Thanks.

1 solution

I tested several ways and found that this kind of error is due to the conflict of ESRI JS API 3.x and jquery (e.g. http://code.jquery.com/jquery-1.10.2.js). However, if using ESRI JS API 2.x, it will be OK.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900