laptop and a wrench

Bug

The IFeatureWorkspace CreateFeatureClass method deletes the shapefile if it already exists and throws an HRESULT E_FAIL error.

Last Published: August 20, 2020 ArcGIS for Desktop
Bug ID Number NIM040402
SubmittedDecember 2, 2008
Last ModifiedJune 5, 2024
Applies toArcGIS for Desktop
Version found9.3
Program languageC#
Operating SystemWindows OS
Operating System VersionXP
Version Fixed10.0
StatusFixed

Additional Information

Fixed in ArcGIS Desktop 10.0.

Workaround

if (shape does not exist){//call IFeatureWorkspace::CreateFeatureClass}else{// warn user shape file already exists}

Steps to Reproduce

Bug ID: NIM040402

Software:

  • ArcGIS for Desktop

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