AnsweredAssumed Answered

Calculate Length Downstream For Junctions Add Field Issue

Question asked by jdobre06 on Dec 3, 2014
Latest reply on Dec 10, 2014 by jdobre06

While trying to run the Calculate Length Downstream For Junctions tool, I receive the following error.

 

Traceback (most recent call last):

  File "C:\Users\444\Desktop\streams_final.py", line 49, in <module>

    ArcHydroTools.CalculateLengthDownstreamForJunctions(PlacedPoints)

  File "C:\Program Files (x86)\ESRI\WaterUtils\ArcHydro\bin\ArcHydroTools.py", line 255, in CalculateLengthDownstreamForJunctions

    raise e

ExecuteError: AddFieldGPerror : 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:\Builds\HydroSolutions\10.2_ArcHydro\Sources\ArcHydroTools\src\ApHydro\GDBHelper.vb:line 1339

Failed to execute (CalculateLengthDownstreamForJunctions).

 

I am running the tool against a Feature Class. Can anyone tell me how to resolve this issue?

Outcomes