AnsweredAssumed Answered

Exception on ReturnDirections Server 10.1

Question asked by juhunter on Sep 18, 2012
Latest reply on Sep 26, 2012 by juhunter
When I enable ReturnDirections I get the following exception:

[PHP]System.ArgumentException was caught
  Message=Number contains invalid characters.
  Source=ESRI.ArcGIS.Client
  StackTrace:
       at ESRI.ArcGIS.Client.Tasks.RouteTask.ConvertBase32(String base32number)
       at ESRI.ArcGIS.Client.Tasks.RouteTask.decompressGeometry(String compressedGeometry, PointCollection points)
       at ESRI.ArcGIS.Client.Tasks.RouteTask.decodeFeatures(IList`1 features, PointCollection path, GeometryType geomType)
       at ESRI.ArcGIS.Client.Tasks.RouteTask.decodeDirectionsFeatures(IDictionary`2 direction)
       at ESRI.ArcGIS.Client.Tasks.RouteTask.DeserializeRouteResults(String result, Object userToken)
       at ESRI.ArcGIS.Client.Tasks.RouteTask.Solve(RouteParameters parameters)
       at my class and whatnot:line 157
  InnerException:
[/PHP]

I can only assume that the < 0.1 that it returns is causing the error when trying to convert it to a number, but I cannot be certain.

Any ideas? Returning directions is absolutely mandatory.

Outcomes