Problem: Could not rename a personal geodatabase workspace using IDataset.Rename
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.