Problem: Layers with special characters are not included in a multi-layer cache


After creating a multi-layer cache for an ArcGIS Server map service, layers that include special characters in their names, such as /, &, %, @, etc., do not appear when the service is added to the client application. In the arcgiscache directory for that service, the layer is not listed among the directories.


The cache tiles are accessed by way of a virtual directory, and the directories are named after the layers. The virtual directory path is invalid if the layer name contains special characters. As a result, that layer's cache will not be created.

Solution or Workaround

Remove special characters from layer names, such as /, &, %, @, etc.