PROBLEM
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.
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
Get help from ArcGIS experts
Download the Esri Support App