Problem: Unable to save output to GRID format
When saving the output of a geoprocessing tool to GRID format, the tool may fail to save the output to a network drive and returns a generic error:
Error: Error 999999: Error executing function.
This issue occurs because of the default use of the raster dataset. GRID format is an older format, and may have compatibility problems with current networks, especially if involving a database. The GRID format is stored as a separate directory with associated tables and files containing specific information about the GRID data that may lead to a permission issue or corruption on the output network location folder.
Solution or Workaround
Save the output to a non-GRID format such as TIFF, IMG, or file geodatabase raster dataset (FGDBR).