Invalid response error when calling RouteTask.CreateAsync(Uri)

1625
2
Jump to solution
01-23-2017 11:49 AM
StephenFoster
New Contributor II

The following line is throwing an "Invalid response" error when called:

RouteTask rt = await RouteTask.CreateAsync(new Uri("http://mapcache.friscotexas.gov/arcgis/rest/services/RoadNetwork/NAServer/Route"));

I am using the release version WPF 100.

The routing service is currently working with my Silverlight application. It is running on version 10.3.1. It is not secured. I assume there is a problem with the service configuration or perhaps it being an older version but I haven't found any specific requirements. Any thoughts?

0 Kudos
1 Solution

Accepted Solutions
StephenFoster
New Contributor II

Recreated network service on ArcGIS Server version 10.5 and it is working now.

View solution in original post

0 Kudos
2 Replies
StephenFoster
New Contributor II

Recreated network service on ArcGIS Server version 10.5 and it is working now.

0 Kudos
JenniferNery
Esri Regular Contributor

Thanks for your feedback. The old service you provided had an empty direction style names in the network layer metadata. This may have been optional. We are still investigating whether this should just be ignored if empty. It's good to know publishing as 10.5 works for you though.

0 Kudos