ERROR:The path is not of a legal form

1337
1
03-10-2011 11:22 AM
SusmitaDuncan
New Contributor II
I admin AGS 9.3.1 SP1 cached map services that many apps consume. There is a silverlight web viewer (AGS 10SP1) that is hitting the REST endpoints of my services, it's the only app using REST. I'm constantly seeing this error in my restlogs for each of the map services:

Log Entry : 3/4/2011 10:27:20 AM
  ERROR:The path is not of a legal form. ::    at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck)
   at System.IO.Path.NormalizePath(String path, Boolean fullCheck)
   at System.IO.Path.GetFullPathInternal(String path)
   at System.IO.Path.GetFullPath(String path)
   at System.Net.WebClient.GetUri(String path)
   at System.Net.WebClient.DownloadData(String address)
   at ESRI.ArcGIS.REST.MapServer.TileResponse.GetBlankTile()
   at ESRI.ArcGIS.REST.MapServer.TileResponse.WriteResponse()
   at ESRI.ArcGIS.REST.ResponseFormatter.WriteFormattedResponse()
   at ESRI.ArcGIS.REST.RequestHandler.ProcessRequest()
   at ESRI.ArcGIS.REST.RestHttpHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context)
  http://xxx.xxx.zzz/ArcGIS/rest/services/imagery/MapServer/tile/11/9465/8239
-------------------------------

What could be causing this? What could be tweaked in the silverlight viewer to stop causing these errors? Thanks!
0 Kudos
1 Reply
JenniferNery
Esri Regular Contributor
Are you talking about this Silverlight Viewer? http://blogs.esri.com/Dev/blogs/silverlightwpf/archive/2011/03/05/ArcGIS-Viewer-for-Microsoft-Silver.... If yes, the BetaCommunity has its own forum. Please post there with information that will help us reproduce the issue.

The stack trace you shared does not seem to be called from our SL/WPF API but from REST API. To verify, you can try to view map using ArcGIS.com Map or ArcGIS JavaScript. See if you can reproduce the issue outside of Silverlight application. http://services.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer.
0 Kudos