laptop and a wrench

漏洞

OS Error when leveraging the arcpy.mp.LayerFile() function if ArcGIS Server's build number is less than the "Build" parameter value associated with a .lyrx file

上次发布: September 22, 2021 ArcGIS GIS Server
漏洞 ID 编号 BUG-000142268
已提交August 17, 2021
上次修改时间June 28, 2025
适用范围ArcGIS GIS Server
找到的版本10.8.1
操作系统Windows OS
操作系统版本N/A
修正版本2.9
状态Fixed

解决办法

Use a new version of ArcGIS Server to execute the script or use an older version of ArcGIS Pro.

This is likely not acceptable for large organizations with updated ArcGIS Enterprise environments:

For example for ArcGIS Server 10.9, .lyrx files created with ArcGIS Pro version 2.8.0 or later cannot be leveraged without triggering the OS error.

重现步骤

漏洞 ID: BUG-000142268

软件:

  • ArcGIS GIS Server

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项