rocksolid311

Error Handling for a locate

Discussion created by rocksolid311 on Jul 12, 2011
Hi,

I am doing a simple locate and was wondering how to show an error (with javascript) whenever the server is unreachable. Debugging in chrome with a false URL returns the error:
GET http://gis.hamiltoncounty.in.gov/ArcGIS/rest/services/UberLocator_10/GeocodeServer32432432/findAddressCandidates?SingleLine=1%20Civic%20Sq&f=json&outFields=Loc_name&callback=dojo.io.script.jsonp_dojoIoScript1._jsonpCallback 404 (Not Found)

It has been difficult to isolate where this error is being generated from. Any help would be appreciated.

Thanks

Outcomes