I am getting an error running Batch Watershed Delineation (ArcMap 10.2.2, ArcHydro 10.2.0.85):
WshDelineationFromPointAndAdjointCatchment:System.Runtime.InteropServices.COMException (0x80041098): ERROR 010429: Error in GRID IO: CellLyrCreateInternal: Unable to create cell layer directory c:\windows\system32\ras0421 . ERROR 010067: Error in executing grid expression. at ESRI.ArcGIS.SpatialAnalyst.RasterHydrologyOpClass.Watershed(IGeoDataset directionRaster, IGeoDataset sourceDataset) |
Note the software is trying to write to C:\Windows\system32 (a system folder). Any ideas?
UPDATE:
Deleting the ArcHydro temp folder in TEMP:
C:\Users\user\AppData\Local\Temp\1\arc5694\
and restarting ArcMap solved the problem. I'm assuming the tool was having trouble writing there and then failing over to the system folder, although my C drive had plenty of space.