Hello everybody
I started working in a project on ArcGIS, when i used "LongestFlowpath" tool (in HEC GeoHMS) I got an error with this message :
System.Runtime.InteropServices.COMException (0x80040215): Exception from HRESULT: 0x80040215
at ESRI.ArcGIS.Geometry.IRelationalOperator.Contains(IGeometry other)
at ESRI.APWR.ApHydro.ArcHydroOp.ComputeLongestFlowpath(ApLayers apLayers, Int32 debug, ITrackCancel& trackcancel, IGPMessages& messages, String& exMessage, IRaster costRaster)
Failed to execute (LongestFlowpath).
Does anyone has any idea what might have caused it?
I would really appreciate your help 
Thank you very much