REST API errors when trying to get compact cache

Discussion created by jbartruf on Aug 4, 2010
Latest reply on May 6, 2011 by pkovalchukesri-ca-esridist
I have run into an issue when using compact caches.  The cache will build but when I try to get certain tiles I get the following error:

  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)

Other tiles in the same cache work perfectly.  Trying to rebuild specific scales or updating empty tiles does not make a difference.  If I take the same mxd and create an exploded cache everything works fine.  I believe it is a REST API issue because I can pull up the compact cached service in ArcMap.  Since I cannot view inside a compact cache I do not know for certain if the image(s) have been created.  Any ideas?