ESRI  sample NAServer url with whitespace %20 problem

666
2
06-07-2012 11:25 AM
DeminHu
New Contributor
Hi,

I am trying to run ESRI sample: network - Closet Facility ( http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#ClosestFacility  )

Occationality it worked, most time, I got the error :The remote server returned an error : Not Found

The problem for me with IE browser , it seems the sample NAServer URL has  a whitespace ( %20).
( http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Network/USA/NAServer/Closest%20Facility )

I wonder why ESRI created this sample service name with a white space .
0 Kudos
2 Replies
DominiqueBroux
Esri Frequent Contributor
I wonder why ESRI created this sample service name with a white space .


The white space should not cause any problem.
Likely your issue is depending on the data (facilities, incidents) you entered. In some case the problem can not be solved.

Perhaps using fiddler to look at the request sent to the server might help.
0 Kudos
DeminHu
New Contributor
hi, Broux

Thank you so much.
we  tested the sample yesterday, in the early morning, it worked, then we got the errors such as: NotFound or data sources string is not available etc( on different computers).  After read your reply, we checke the sample again, it is working now. Maybe after some minutes, it will down again.

http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#ClosestFacility


Many thanks.
0 Kudos