AnsweredAssumed Answered

Intermittent errors on saving rasters in a GP service

Question asked by jon.morris on Nov 6, 2015

I've been having a lot of trouble saving rasters in a GP service. Sometimes it works, sometimes I get

"" does not exist

and sometimes I get


ERROR 010240: Could not save raster dataset to d:\arcgisserver\directories\arcgisjobs\lfp\lfp01setup_gpserver\jd73a1783fecb41ce8db2b93fe93a2ac5\scratch\scratch.gdb\Plei_ZforCDF with output format FGDBR.


The errors are not consistent though. I've been adding lots of arcpy.AddMessage and arcpy.ListRasters statements between the lines of my script and slowing it down seems to help, so maybe it's some kind of race condition. The destination gdb definitely exists and does not already contain a raster with that name, so what could be the problem?

cc Developer Communities Geoprocessing




I'm also getting


Could not service request.


but only when I run through the script without any extra messages. If I add


    desc = arcpy.Describe(ds)
    arcpy.AddMessage('%s path = %s' % (, desc.catalogPath))


between some of the saves, the script completes without error (there are 14 rasters in all, it's always the 10th one that fails).


Could it be the case that server can only cope with saving so many datasets at once?