The following code throws an exception
if (table.IsControllerDatasetSupported())
{
IReadOnlyList<Dataset> controllerDatasets = table.GetControllerDatasets();
}
ArcGIS.Core.Data.GeodatabaseTopologyException: Network not found. ---> System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x80041970
at ArcGIS.Core.Internal.IGeodatabaseIOP.Geodatabase_GetUtilityNetwork(IntPtr workspaceHandle, String name)
at ArcGIS.Core.Data.GeodatabaseCore.OpenDatasetCore(String name)
--- End of inner exception stack trace ---
at ArcGIS.Core.Data.GeodatabaseCore.OpenDatasetCore(String name)
at ArcGIS.Core.Data.Table.GetControllerDatasets()
This happens on 4 UN layers "Point Errors", "Line Errors", "Polygon Errors", and "Dirty Areas" The code runs fine on the other UN layers.
Is there something in addition to IsControllerDatasetSupported that I should be checking?
This is on 2.1.2