Skip To Content

00057: Layer name contains invalid characters

This ArcGIS 10.6 documentation has been archived and is no longer updated. Content and links may be outdated. See the latest documentation.

Your layer name contains URL and/or XML reserved characters invalid for use in a layer name when publishing a map service with WMS or WCS capability.

Solutions

  • Rename the layer so that it does not include any URL and/or XML reserved characters.
  • If you are publishing a map service with WMS capability, you can choose not to use layer names. You can use zero-based integers to identify layers. Follow these steps:
    1. From the Service Description Editor, select WMS from the left column.
    2. Scroll down to the bottom of the Properties window.
    3. Uncheck the Use layer names from the map document option.
    4. Click OK to apply your settings.

More information

WMS and WCS capable map services cannot be published if any layer names contain URL and/or XML reserved characters. These characters include the following:

  • &
  • <
  • >
  • "
  • '
  • ?
  • @
  • =
  • $
  • ~
  • ^
  • `
  • #
  • %
  • *
  • (
  • )

Characters that can be used within a layer name include the following:

  • /
  • :
  • ;
  • \
  • {
  • }
  • [
  • ]
  • |
  • +

Learn more about WMS services

Learn more about WCS services