laptop and a wrench

Error

The creation of a relationship class fails when a participating feature class and table are already added to a map.

Última publicación: April 21, 2023 ArcGIS Pro SDK for .NET
Número de ID del error BUG-000157690
EnviadoApril 20, 2023
Última modificaciónSeptember 19, 2024
Relacionado conArcGIS Pro SDK for .NET
Versión encontrada3.1
Sistema operativoWindows OS
Versión de sistema operativo10.0 64 Bit
EstadoAs Designed

Información adicional

Creating or deleting a relationship class (as well as other data definition language (DDL) commands) definitely requires an exclusive lock. Changing the schema requires exclusive access and is the reason why those locks exist. Users must stop their web services, change the schema, and then restart their web services- at minimum. It will be safer to republish the data so that the service is made aware of any changes to the schema. The fact that some of the geoprocessing tools and Python allow these changes is the actual bug. These operations must not be allowed unless the exclusive lock can be obtained; it should work the same as the SDK.

Solución alternativa

To perform a data definition language (DDL) operation on a feature class, any web service that uses the feature class must be stopped, and other ArcGIS Pro instances using the feature class must be closed. After changing the schema, restart or republish the web services if the schema changes impact the web service.

Pasos para reproducir

ID del error: BUG-000157690

Software:

  • ArcGIS Pro SDK for .NET

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