I've been getting the error
"System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
at ESRI.ArcGIS.Geoprocessing.GPUtilitiesClass.IGPUtilities2_OpenFeatureClassFromString(String catalogPath) at ESRI.APWR.ArcHydroGPTools.AHHydroNetworkGeneration.Execute(IArray paramvalues, ITrackCancel trackcancel, IGPEnvironmentManager envMgr, IGPMessages message) in C:\Builds\HydroSolutions\10.4_ArcHydro\Sources\ArcHydroTools\src\ArcHydroGPTools\AHHydroNetworkGeneration.vb:line 511Failed to execute (Hydro Network Generation)."
when my ModelBuilder gets to the Hydro Network Generation step, but it is still very clearly generating all the networks and associated edges/junctions. I checked the attribute tables, everything looks good. So, same issue, I have no idea why I get this error message in my processing dialog box. My ModelBuilder doesn't crash or anything, I just get this error returned every time it swings around to the Hydro Network Generation step. Arc Hydro just likes to make life difficult, I guess.
I created a file geodatabase and imported all raster data into it. Then rerun the process again and it actually worked The catchment as well as drainage line were both developed !
I've been getting these types of errors also. Specifically, when I try to create fdr, str, strlnk, etc.When I refresh the Catalog, the rasters are there! When I pull them in to my mxd, they appear to be OK. Maybe the error I'm getting is some after-the-fact function that has nothing to do with creating those rasters. Maybe the routine tries to add them to the mxd and something goes wrong with something related to the filesnames and it can't, and so it reports the error... This makes the model builder models crash, but I can do it all manually... at least.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.