Similar to this question:

Copying new data into shared Geodatabase in ArcGIS for Server using ArcObjects? [closed]

I am wanting to know how to publish a map service without having to copy all of the data to the server because I added one new feature class to our enterprise GDB.

I have gone the route of creating a service definition file without sending up data to the server, and then publishing the sd from Catalog. However, doing this it seems you have to then delete the existing service (the one I want to replace) and then recreate it from the sd file. I then have to restart IIS because the indexing in the REST service is off.

Also, with 10.0 we were able to just restart the map service (and IIS) without having to go through all these extra steps and still get the desired result. Is there a better way to go about this?

  • Have you verified the geodatabase folder location is registered with the data store? You can also register your enterprise GDB directly to the datastore.
    – crmackey
    Commented Jan 12, 2016 at 21:43
  • Best practice is to register enterprise and file geodatabases with the Server install, in which case the data can be used as-is.
    – Vince
    Commented Jan 13, 2016 at 4:55
  • Yes, it is registered. I'm just looking for a way to either not copy all the data to the server when I publish, or not have to delete/recreate the map service. I tried just restarting the existing map service (after adding the layer to the mxd), but that didn't seem to work. Commented Jan 13, 2016 at 13:38
  • "after adding layer to the mxd" - which mxd did you add it to? AFAIK, arcgis server only uses service definition files - the mxd in the services directory is not read. Commented Jan 13, 2016 at 14:36
  • I guess maybe i'm not understanding why we need to "copy data to the server" after it has been registered. So far, it's looking like I'll just have to recreate the sd file/map service every time. Commented Jan 13, 2016 at 16:53

2 Answers 2


As long as you registered the enterprise geodatabase with your ArcGIS Server you can add as much data to the geodatabase as you want, and it will not be copied to the ArcGIS Server.

To republish a service, starting with ArcGIS 10.1 you can/should republish directly from ArcGIS Desktop environment, without having to manually save the SD file and then publish it from the web-interface. After making the Map Document, just go to File->Share As->Publish Service to open the service publishing wizzard. Select Overwrite existing service to replace the existing one with the new Map Service.

  • Overwriting the service from ArcMap still copies data to the server. I have mxd's with over a hundred layers in them, and didn't want to reload the same data everytime. Commented Jan 13, 2016 at 14:26

Found the solution! I have a read-only version and an admin version of the enterprise gdb. Had to register the other version. The more you know!

Thanks all for the help!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.