ArcHydro doesn't output to shapefile

Discussion created by stush on Jan 26, 2012
Latest reply on Dec 18, 2019 by Nlog10
Hi, all -

I just spent way too much time debugging something that I probably should have known, so wanted to post it here in case it saves someone else time.

In a nutshell, ArcHydro does not output to shapefiles, only geodatabases.  And if you specify a shapefile as the output to something like Batch Watershed Delineation, you get an error like this:

System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
   at ESRI.ArcGIS.Geoprocessing.GeoProcessorClass.Execute(String Name, IVariantArray ipValues, ITrackCancel pTrackCancel)
   at ESRI.APWR.ApHydro.GDBHelper.AddFieldGP(ApLayer apLayer, String fieldTag, String& exMessage) in C:\Projects\10_Final\ArcHydroTools\src\ApHydro\GDBHelper.vb:line 1307

I love ArcHydro, but do wish that the error messages were more user-friendly.

~ Stacie