I have a python script which runs well as geoprocesing tool. When published on ArcGIS Server 10.1 as geoprocessing service, however, it throws the following error:
Unable to complete operation. Error executing tool.: Failed to execute. Parameters are not valid. ERROR 000824: The tool is not licensed. Failed to execute (Kriging). Failed to execute (NewCuringModelExpPy). Failed to execute (New_Curing_Model_ExpPy).
The script runs without any error on ArcCatalog with Spatial Analyst extension authorized. The code also has got proper license checked out as below:
I don't think ArcGIS Server requires Spatial Analyst extension authorized, does it? Otherwise, is it to do with any ArcGIS Server configuration?
By the way, I am running on ArcGIS Server 10.1 Advanced so Spatial Analyst extension should have been part of it.