Could not rename a personal geodatabase workspace using IDataset.Rename

Last Published: April 25, 2020


When renaming a workspace using IDataset.Rename, my application crashes.


This will happen if you create a workspace and delete it; then you create a new workspace and rename it to the name of the first workspace.

Solution or Workaround

If you are performing the sequence, create, rename, delete, create, and rename of a workspace, all within the same process, you must set the workspace to Nothing before you re-create it. This will keep the application from crashing.

Article ID:000002976

  • ArcMap 8 x

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic