ArcGIS Server 10.3.1 & Desktop ArcGIS 10.3.1
I'm confused as to how ArcGIS Server and the local data and/or .mxd interact after publishing.
I publish a map service where the local .mxd points towards feature classes within a local file geodatabase. I can edit one of the feature classes and republish the .mxd using the overwrite option. However, in order to edit the .mxd itself, (add or delete layers, or tables) I must first shut the published service down, before I can save the .mxd.
Is this expected behavior? I was under the impression that once published with data copied to ArcGIS server the 'chord is cut'. I guess I'm under the wrong impression?
When you publish a service, the MXD is copied over to the server to a path similar to this one:
There should be no relationship between the service and MXD you have on your local system. The service may create a lock to the data published to the server, but this can be changed in the advanced configuration and does not influence what you are experiencing. Strange...
Yeah that's the opposite of my understanding of the relationship between service, data, and MXD.
In the past I've been able to update published data in a file geodatabase on the ArcGIS server box without interrupting the service as long as it is just insert/update/delete, not schema changes which require the exclusive schema lock. The only need to republish should be for schema changes or changes to the structure of the MXD, layer properties, etc.
What behavior are you seeing when you try to save your local MXD? Is there an error message or is the save button just grayed out?
If the service is running and I make a change to the local .mxd and try to save it, an error box to the effect of " Unable to save .mxd" is returned.
Hmmm. Here's a couple things to check on:
1. Is it possible that another user has the MXD open? (This seems unlikely since you said "local" but worth checking)
2. Is there an image in the map layout? If the path to the image has changed you may need to remove the image prior to saving.
3. Did you add a layer file or data source to the map from a different version of the software? Like a 10.4 layer file or feature class? This might cause a problem when saving a 10.3 map document.
1. Nope. I'm a one man show
2. No imagery
3. Only have version 10.3.1
[edited shortly after posting....] As I said, Beats me; I just added a feature class to an existing local .mxd and saved it without stopping the map service. This has been the story of 10.3.1 for me; since the install I've had the weirdest things happen with no consistency at all.....