laptop and a wrench

Bogue

File handle is persisted after an invalid Definition Query is executed, potentially causing sharing violations.

Dernière publication: August 25, 2014 No Product Found
Numéro d’ID de bogue NIM000202
EnvoiNovember 2, 2005
Dernière modificationJune 5, 2024
S’applique àNo Product Found
Version trouvée9.1
Version de correction9.2
StatutFixed

Solution de contournement

Changing the data source of the affected layer by going into Layer Properties->Source tab, clicking on Set Data Source and then selecting another file will release the lock. So the user can go into Windows Explorer, find the file(s) in question (make sure to take all of the files *.shp, *.xml, *.prj, etc.) and copy and paste them to another location. Then, change the data source to this newly copied file. The file handle will be broken. It's not pretty but it works. User notes he cannot get this to work reliably in code, and thus requested that the issue be raised in status.

Étapes pour reproduire

ID de bogue: NIM000202

Logiciel:

  • No Product Found

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