laptop and a wrench

Bug

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

Last Published: August 25, 2014 No Product Found
Bug ID Number NIM000202
SubmittedNovember 2, 2005
Last ModifiedJune 5, 2024
Applies toNo Product Found
Version found9.1
Version Fixed9.2
StatusFixed

Workaround

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.

Steps to Reproduce

Bug ID: NIM000202

Software:

  • No Product Found

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options