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
Last Published: 5/5/2016
Article ID: 000003781
Software: ArcGIS-ArcEditor 9.1, 9.0, 8.3, 8.2, 8.1.2, 8.1 ArcGIS-ArcInfo 9.1, 9.0, 8.3, 8.2, 8.1.2, 8.1