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.
上次发布: July 26, 2021ArcGIS GIS Server
漏洞 ID 编号
BUG-000141176
已提交
July 1, 2021
上次修改时间
July 2, 2024
适用范围
ArcGIS GIS Server
找到的版本
10.8.1
操作系统
Windows OS
操作系统版本
2019 64 Bit
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
Manually customizing the service configuration files after publishing by opening and customizing the file directly is not supported.
解决办法
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).