Error in "Level DEM": Spatial reference does not have z unit and in "Sink evaluation"

Discussion created by xiaoli93 on Jul 12, 2011
Latest reply on May 15, 2013 by rajatchopra91
I wanted to get the drainage area, but when I was doing the first step, "Level DEM", I got this error "Level DEM: Spatial reference does not have z unit"
Does anyone have the same problem with this? Is there a solution to it? Is there a way to add z unit to the raster?

I just ignored this error, and moved on with the following steps. Everything was fine until I got to "Sink Evaluation". It says:
"Spatial reference does not have z unit.
Z factor computation did not succeed. Do you want to use a factor of 1 and proceed?"

I clicked yes.

So it started to calculating, and after a while, an error window popped out, 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.ArcHydroOp.SinkEvaluation(ApLayers apLayer, Double
zuNITfactor,Int32 debug,ITtrackCancel&trackcancel, IGPMessages&messages,String&exMessage)in

does anyone know what was wrong? is there any solution? Thank you a lot!!