API for Network Analysis

Discussion created by notxyz on Feb 26, 2013
Hi, can someone help me with this problem?

I published a network analysis service on a ArcGIS server, and I switched the url in the sample code: with the url for my service. However, when I type the origin and destination addresses and click "Get directions" button, it always gives back the message: "An error occured
TypeError: solveResult.routeResults[0] is undefined". How can I solve this error?