laptop and a wrench

漏洞

PDFs added as attachments on existing web services through ArcMap, on a machine without Adobe Reader installed, return a "Failed to load PDF" error when accessed at REST.

上次发布: October 6, 2017 ArcGIS GIS Server
漏洞 ID 编号 BUG-000107914
已提交September 8, 2017
上次修改时间June 5, 2024
适用范围ArcGIS GIS Server
找到的版本10.5.1
操作系统Windows OS
操作系统版本N/A
状态Will Not Be Addressed

附加信息

The Attachment Manager adds the content type to the attachment table depending on file extensions. The tool gets the content type using the MIME type in HKEY_CLASSES_ROOT\MIME\Database\Content Type. If a machine does not have a PDF application registered, (application/pdf) then the content type is just set to ‘unknown’ when the attachment is added, and hence the PDF are not opened anywhere else, even though the extension is '.pdf'. The content type field determines how the attachment is opened, the file extension does not guarantee the content. There are two workarounds: 1. Install Adobe Reader on the machine. 2. Use Windows 10 because the operating system already has the content type built in, since most browsers can read PDF files.

解决办法

Install Adobe Reader on the machine where ArcGIS for Desktop is installed.If not possible, through REST, change the format of the attachment from Unknown to PDF. This is explained further in the following document: (<a href="http://resources.arcgis.com/en/help/arcgis-rest-api/#/Attachment_Infos_Map_Service_Layer/02r3000000r0000000/" target="_blank">http://resources.arcgis.com/en/help/arcgis-rest-api/#/Attachment_Infos_Map_Service_Layer/02r3000000r0000000/</a>)

重现步骤

漏洞 ID: BUG-000107914

软件:

  • ArcGIS GIS Server

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项