I am using esri network analysis tool and I just want to draw the path between two clicked point on the map (by using route task)

I use the example code block in the following link http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#Routing which is included in the ESRI ARCGIS silverlight API sample page and I only change the route task and Dynamic layer URLs... In the end I always receive the error message as "Routing error: 'stops' parameter is invalid"

Can anyone help me?

closed as off-topic by PolyGeo Jun 9 '17 at 3:54

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions seeking help to debug/write/improve code must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Providing a clear problem statement and evidence of a code attempt will help others to help you. See: How to create a Minimal, Complete, and Verifiable example." – PolyGeo
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 4
    Are you using your own dataset? - the example above only works in North America. – Mapperz Jun 23 '11 at 14:04