Recreating Map service that is cached after the source mxd is updated

687
1
08-07-2013 01:37 PM
RyanSadler
New Contributor III
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

Thanks!
Tags (2)
0 Kudos
1 Reply
AlexeyTereshenkov
Regular Contributor III
Hi Ryan,

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.
0 Kudos