laptop and a wrench

Error

The error message “Could not rebuild indexes on the dataset (could not get a lock)” is returned when rebuilding indexes with a Python script on a feature class that a referenced feature service is published from.

ArcGIS Pro
Número de ID del error BUG-000169219
EnviadoJuly 17, 2024
Última modificaciónOctober 10, 2025
Relacionado conArcGIS Pro
Versión encontrada3.0.3
Sistema operativoWindows OS
Versión de sistema operativo11.0 64 bit
EstadoNon-Reproducible

Información adicional

This issue is no longer reproducible in ArcGIS Pro 3.5 and above.

Solución alternativa

Disable schema locking on the referenced map service. Refer to this documentation for more information: https://enterprise.arcgis.com/en/server/latest/administer/windows/disabling-schema-locking-on-a-map-service.htm

Note: This issue is not reproduced in ArcMap. 

Pasos para reproducir

ID del error: BUG-000169219

Software:

  • ArcGIS Pro

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