Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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:

arcpy.CheckOutExtension("spatial")

I don't think ArcGIS Server requires Spatial Analyst extension authorized, does it? Otherwise, is it to do with any ArcGIS Server configuration?

Any idea is appreciated.

By the way, I am running on ArcGIS Server 10.1 Advanced so Spatial Analyst extension should have been part of it.

Cheers,

share|improve this question
add comment

2 Answers

up vote 4 down vote accepted

I would suspect that you would need to authorise these extensions for every individual ESRI product.

share|improve this answer
    
Thanks for the info. But I am already with ArcGIS for Server 10.1 sp1 Advanced. Isn't Spatial Analyst included? In addition, ArcGIS Desktop is also installed on the same machine with SA authorized already. –  alextc Feb 19 '13 at 2:52
    
This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post - you can always comment on your own posts, and once you have sufficient reputation you will be able to comment on any post. –  Fezter Feb 19 '13 at 2:56
    
I thought Spatial Analyst should have been part of ArcGIS Server 10.1 Advanced version. This is stated in the ArcGIS Server 10.1 Help as well. –  alextc Feb 19 '13 at 3:24
add comment

As you say Spatial Analyst is included in ArcGIS for Server Advanced according to this White Paper so I suspect that the license codes may just have not been installed.

Try to trace back to who installed your ArcGIS for Server licenses and check that they installed all licenses provided by Esri.

share|improve this answer
    
Thanks very much. It's fixed by me authorizing Spatial Server extension on ArcServer. –  alextc Feb 19 '13 at 3:35
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.