laptop and a wrench

Bug

A map or feature service creation from a MXD fails when Layer ID values of -1 exist in the map document. Layer IDs of -1 are generated when an annotation feature class with subclasses is created in the MXD.

Last Published: August 10, 2016 ArcGIS for Desktop
Bug ID Number BUG-000097773
SubmittedJuly 14, 2016
Last ModifiedApril 28, 2025
Applies toArcGIS for Desktop
Version found10.4.1
Operating SystemWindows OS
Operating System Version10.0
StatusDuplicate

Additional Information

Duplicate of BUG-000086697: This was caused by layer IDs not properly assigned to annotation which was resolved.

Workaround

The following workarounds exist, but causes interruption in the user's workflow and can be time consuming with a large MXD: 1. Remove the annotation feature class from the map, then add the annotation feature class back. The Layer ID is recalculated 2. Save the MXD, close and reopen the MXD. 3. Manually enter a new Layer ID value - this is not practical, especially in an MXD with many layers. A duplicate Layer ID can easily be entered, which still causes the service creation to fail.

Steps to Reproduce

Bug ID: BUG-000097773

Software:

  • ArcGIS for Desktop

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options