Bug: GpDispatch.AddField fails because it can't get a lock
** 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.
Click on the link in Related Information below and download Service Pack 2, if necessary. **
Last Published : 5/5/2016
Article ID: 000007423