HOW TO
Utility services are configured in ArcGIS Enterprise to allow various tasks such as geocoding and printing resources. In some instances, the offline packaging service becomes corrupted or needs to be moved to a different folder. The offline packaging service must be deleted and republished to ArcGIS Server to continue working as intended. This article provides the workflow to delete and republish the ArcGIS Server OfflinePackaging service.
{ "serviceName": "OfflinePackaging", "type": "GPServer", "description": "The OfflinePackaging service is used to create and setup map areas. Map areas make it easier and faster for your users to work offline, by packaging up your map for a specific area ahead of time.", "capabilities": "null", "provider": "ArcObjects11", "clusterName": "default", "minInstancesPerNode": 0, "maxInstancesPerNode": 2, "instancesPerContainer": 1, "maxWaitTime": 600, "maxStartupTime": 300, "maxIdleTime": 1800, "maxUsageTime": 30000, "loadBalancing": "ROUND_ROBIN", "isolationLevel": "HIGH", "configuredState": "STOPPED", "recycleInterval": 24, "recycleStartTime": "00:00", "keepAliveInterval": -1, "private": false, "isDefault": true, "maxUploadFileSize": 0, "allowedUploadFileTypes": "", "properties": { "virtualOutputDir": "/rest/directories/arcgisoutput", "maximumRecords": "1000", "outputDir": "C:\\arcgisserver\\directories\\arcgisoutput", "jobsDirectory": "C:\\arcgisserver\\directories\\arcgisjobs", "showMessages": "Info", "executionType": "Asynchronous", "toolbox": "${AGSSERVER}/framework/runtime/ArcGIS/Resources/ArcToolBox/Services/OfflinePackaging.tbx", "jobsVirtualDirectory": "/rest/directories/arcgisjobs" }, "portalProperties": { "isHosted": false, "portalItems": [{ "itemID": "6d70b8fb270b46a9b1c84fe93c041b75", "type": "GPServer" }] }, "extensions": [], "frameworkProperties": {}, "datasets": [] }
After performing the workflow above, the service and portal item may not be in sync, causing the following errors to occur:
If any of the errors occur, identify the itemID for the OfflinePackaging item in Portal for ArcGIS and update the itemID.
Note: When performing Step 11, the JSON should be configured with the correct itemID. This item can be found by searching for "offlinepackaging" in Portal for ArcGIS.
Get help from ArcGIS experts
Download the Esri Support App