HOW TO
Utility services are configured in ArcGIS Enterprise to make way for various tasks such as geocoding and printing resources. In some cases, the offline packaging service becomes corrupted or must be moved to a different folder and it must be deleted and republished to ArcGIS Server to continue working as intended. This article provides the workaround.
Warning: The following procedure deletes the corrupted default geoprocessing service and republishes it to restore functionality. Modifying or deleting default system geoprocessing services or tools can disrupt existing geoprocessing services and core ArcGIS Enterprise functionality, especially in production environments. Exercise extreme caution and ensure backups are available before proceeding.






Note: Ensure the configuredState parameter is set to STOPPED.
{
"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 must be configured with the accurate itemID. The item can be found by searching for "offlinepackaging" in Portal for ArcGIS.
Article ID: 000031427
Get help from ArcGIS experts
Start chatting now