laptop and a wrench

Error

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

Última publicación: September 22, 2021 ArcGIS GIS Server
Número de ID del error BUG-000142268
EnviadoAugust 17, 2021
Última modificaciónJune 28, 2025
Relacionado conArcGIS GIS Server
Versión encontrada10.8.1
Sistema operativoWindows OS
Versión de sistema operativoN/A
Versión corregida2.9
EstadoFixed

Solución alternativa

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.

Pasos para reproducir

ID del error: BUG-000142268

Software:

  • ArcGIS GIS Server

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga