When you publish a service using ArcMap, a service definition file is created and temporarily stored in a staging folder locally on disk. During publishing, the service definition file is copied to ArcGIS Server. When the publishing process completes, the service definition file is deleted from both ArcGIS Server and the staging folder.
If publishing fails or you decide to cancel publishing, you have the option to keep a draft of the service definition file in the staging folder. If you save a draft service, a draft service definition file is created in the staging folder.
The default staging location is a temporary folder in your Windows user profile, located at C:\Users\<user name>\AppData\Local\ESRI\Desktop<version number>\Staging. If you navigate to this directory, you will see your connections to ArcGIS Server, along with any draft service definition files.
You can change the default staging location in ArcMap, or you can override the location using your connection to ArcGIS Server. To modify the default staging location, follow the steps in one of the sections below.
Change ArcMap settings
- From the main menu, choose Customize > ArcMap Options.
- On the Options dialog box, click the Sharing tab.
- Browse to the desired publishing staging location.
- Click OK.
Set on the ArcGIS Server connection
- In ArcCatalog or the Catalog window in ArcMap, expand the GIS Servers node.
- Right-click your connection to ArcGIS Server and choose Properties.
- Uncheck Use ArcGIS Desktop's staging folder and browse to the desired staging location.
- Click OK.