ExtractByMask returns 999999 error in 10

10943
11
12-29-2010 12:04 PM
ErinIverson
New Contributor II
I get the error 999999 when I try to run the Extract By Mask tool from ArcToolbox in ArcGIS 10. Using the exact same files the extraction runs in 9.3.

I've tried converting my mask from feature class to shapefile, and nothing has worked. It gets to the "Converting features..." message in the tool, and fails:

ERROR 999999: Error executing function.
Failed to open raster dataset.
Failed to execute (ExtractByMask).
11 Replies
SalmanAhmed3
New Contributor III

I found a fix to this error. Just don't change the ArcGIS default output location when running the tool. You can change the name of the output file though. But let it save in the default directory given by ArcGIS (somewhere in User-Documents-ArcGIS-...). And if the default path is something else (maybe a colleague changed it or something) then that is not considered as the default path. It should be ArcGIS defult path in the location I roughly mention above.

0 Kudos
JamesGrant
New Contributor

The output raster needs to be saved in a file geodatabase instead of a normal folder. This should stop the unknown error: 999999. The extract by mask script will not work if the save location is not in a file geodatabase.

0 Kudos