010159: Unable to open <value> file of <value>.

Description

There was an error trying to access the specified file. Typically, this may be due to incorrect paths or not having permission to access the data folders. If the path and permissions are okay, the next possible source of the problem may be that the file has been corrupted.

Additionally, you may see this error for some Spatial Analyst operations that require the input rasters have certain statistics properties. The conditions that may make the specified datasets invalid include:

  • The statistics have not been calculated.
  • The statistics contains a skip factor greater than 1.
  • The statistics contains an ignore value.

Solution

Check that you have correctly specified the file and that you do have read permission. If this has been done and the problem continues, you should then determine whether the file is a valid one. Try to view the contents of the file with an application that can read that format. If you cannot, the file may have been corrupted and might need to be re-created.

If the input raster dataset's statistics are invalid for any of the reasons listed, use the Calculate Statistics tool to calculate the appropriate statistics for the dataset.