English

Problem: Could not rename a personal geodatabase workspace using IDataset.Rename

Description

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

Cause

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.

Last Published: 5/5/2016

Article ID: 000002976

Software: ArcGIS-ArcEditor 8.1 ArcGIS-ArcInfo 8.1, 8.0.2 ArcGIS-ArcView 8.1