Problem: Programmatically deleting a geometric network, then deleting Dataset in Treeview, will cause ArcCatalog to fatal
Programmtically deleting a geometric network in ArcCatalog and then deleting the network's feature dataset, will cause ArcCatalog to fatal.
This is a known issue.
There are two workarounds for this problem:
- Do not delete the feature dataset following this operation. Close and re-start ArcCatalog to delete the dataset.
- Delete the network using IGxObjectEdit:Delete instead of Dataset:Delete. In ArcCatalog, get a reference to the selected object from IGxApplication:SelectedObject and QI to IGxObjectEdit
Article ID: 000003781
Software: ArcGIS - ArcEditor 8.1, 8.1.2, 8.2, 8.3, 9.0, 9.1 ArcGIS - ArcInfo 8.1, 8.1.2, 8.2, 8.3, 9.0, 9.1