PROBLEM

Programmatically deleting a geometric network, then deleting Dataset in Treeview, will cause ArcCatalog to fatal

Last Published: April 25, 2020

Description

Programmtically deleting a geometric network in ArcCatalog and then deleting the network's feature dataset, will cause ArcCatalog to fatal.

Cause

This is a known issue.

Solution or Workaround

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:
  • ArcMap 9 x
  • ArcMap 8 x

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic