The Esri Community
Services & Programs
GeoNet Resource Hub
to create and rate content, and to follow, bookmark, and share content with other members.
Recreating Map service that is cached after the source mxd is updated
Discussion created by
on Aug 7, 2013
on Aug 13, 2013 by tereshenkov
Show 0 Likes
Is it necessary to delete and recreate a map service that is cached if you make changes to the source MXD file? This is for ArcGIS for Server 10.1
This content has been marked as final.
Show 1 comment
(Required, will not be published)
Aug 13, 2013 2:45 AM
When you publish a map service, ArcGIS Server copies an .mxd file to the server directory and the service does not have a connection to your original map document any longer after that. So in order to update the map document used in the map service on the server, you have republish the updated map document (choose to Overwrite existing map service when publishing in the Service Editor dialog box).
When you have a cached map service, it does not read any map layers from a copied map document - it uses the cache tiles (raster files stored in the server directory) for map drawing.
If you have updated the map document used for publishing such as layer symbology update, you would need to republish a map service and then update your cache tiles either fully or partially depending on the geographic extent of your changes.
If you have updated the map document used for publishing such as adding or removing a layer (so users will not be able to run Identify on your cached service), you can just update the .mxd document in your server directory manually in ArcMap.
Show 0 Likes
Retrieving data ...
Dynamically created layers and labels?
Labeling a graphic using the ArcGIS Runtime for WPF
Python Add-In digital signature not valid
Goodness of fit for the developed semivariogram
6 Methods to Map Your Own Data: A Workshop