I published a network analysis service on a ArcGIS server, and I switched the url in the sample code: http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/#sample/routetask_directions 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?