laptop and a wrench

Bug

The error message, “Export operation failed. Content is not allowed in prolog” is returned when using the exportSite operation for ArcGIS Server if the metadata.xml file for any hosted service is encoded with UTF-16.

Last Published: July 26, 2021 ArcGIS GIS Server
Bug ID Number BUG-000141176
SubmittedJuly 1, 2021
Last ModifiedJuly 2, 2024
Applies toArcGIS GIS Server
Version found10.8.1
Operating SystemWindows OS
Operating System Version2019 64 Bit
StatusWill Not Be Addressed

Additional Information

Manually customizing the service configuration files after publishing by opening and customizing the file directly is not supported.

Workaround

  • Change the encoding for the respective metadata.xml file from UTF-16 to UTF-8.
  • The default location for metadata.xml is (C:\arcgisserver\config-store\services\Hosted\<ServiceName>\esriinfo\metadata\metadata.xml).

Steps to Reproduce

Bug ID: BUG-000141176

Software:

  • ArcGIS GIS Server

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