English

Error: An error was encountered while executing TopoToRaster. Failed to execute (TopoToRaster)

Error Message

Running the ArcToolbox tool, TopoToRaster, on a shapefile displays the following error message:

"An error was encountered while executing TopoToRaster. Failed to execute (TopoToRaster)".

Cause

One cause is that the name of the shapefile contains a space.

Another cause is that the size of the output raster exceeds the capacity of the computer's RAM. The Topo to Raster tool does not take advantage of any virtual memory on the computer. As a result, the tool fails if the number of rows and columns of the output raster exceeds this threshold.

Solution or Workaround

Select one of the two workarounds below to fix the error:

  • Remove the space from the shapefile name.
  • Reduce the number of rows and columns in the output raster by either increasing the cell size or clipping the input data to decrease the extent of the output raster.