laptop and a wrench

Bogue

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

Dernière publication: April 21, 2023 ArcGIS Pro SDK for .NET
Numéro d’ID de bogue BUG-000157690
EnvoiApril 20, 2023
Dernière modificationSeptember 19, 2024
S’applique àArcGIS Pro SDK for .NET
Version trouvée3.1
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
StatutAs Designed

Informations supplémentaires

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.

Solution de contournement

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.

Étapes pour reproduire

ID de bogue: BUG-000157690

Logiciel:

  • ArcGIS Pro SDK for .NET

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement