English

Bug: GpDispatch.AddField fails because it can't get a lock

Description

** This issue is addressed in ArcGIS 9.0 Service Pack 2 (SP2) **

When in ShapefileLocking, running the script on a shapefile causes a fail. The script tool locks the shapefile/featureclass.

Subsequently, GpDispatch.AddField fails because it can't get a lock.

Cause



This is a known issue.

Workaround

** This issue is addressed in ArcGIS 9.0 Service Pack 2 (SP2).

Click on the link in Related Information below and download Service Pack 2, if necessary. **



    Related Information