PROBLEM
In some instances, a feature service published from ArcMap to ArcGIS Online is not displayed in the web map, and returns the following error:
Error: Packaging succeeded, but publishing failed. Failed to Execute (UploadServiceDefinition). Please Consult the GP Results Window for enhanced error description or contact your administrator for the server logs.
However, the feature service appears in the Contents page and the associated attribute table is populated as expected. Similar behavior is observed when publishing a service to ArcGIS GIS Server. The service is successfully published and the data copies over, but no layer is displayed in the ArcGIS REST endpoint.
This issue occurs if the XTools Pro 16.0 and above is installed on the machine hosting ArcMap. The Selection Manager tool of the XTools Pro extension adds a Globally Unique Identifier (GUID) to map layers; which is not supported in ArcGIS. For more information, refer to XTools: Support.
As a workaround, use one of the options provided below to resolve this issue:
Article ID: 000013852
Get help from ArcGIS experts
Download the Esri Support App