The spatial reference of all map layers must match

Last Published: April 25, 2020

Error Message

After creating a tile package for ArcGIS for Windows Mobile, the following error is displayed:

"Error: The spatial reference of all map layers must match."


When a tile package is created using the default tiling scheme for ArcGIS Online / Bing Maps / Google maps, the tile package is automatically set to WGS 1984 Web Mercator (Auxiliary Sphere) instead of the original coordinate system.

Solution or Workaround

To use a format other than WGS84 Web Mercator, base the tiling scheme on an existing map cache, or create a new tiling scheme. To create a tiling scheme, follow these steps:

  1. Open ArcToolbox and browse to the Server Tools > Caching. Open the Generate Map Server Cache Tiling Scheme tool.
  2. Under Map Document, browse to the location of the map, and under Output Tiling Scheme designate the location where it is to be saved.
    Generate Map Server Cache Tiling Scheme

  3. Choose the number of scales to be used. The tool automatically creates the scales based on the extent of the MXD, or they can be entered manually.
  4. Click OK to commit the changes and close the dialog box.

Article ID:000011801

  • ArcGIS Server

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic