Select to view content in your preferred language

Python scripting with Desktop 9.3.1 and publishing with ArcGIS Server 10.

691
3
11-07-2010 06:52 PM
nidhiarora
Deactivated User
I am using ArcGIS desktop 9.3.1 with ArcGIS Server 10. I have created python scripts (2.5) to create csv and perform some statistical analysis.  The scripts work fine in Desktop. But when published to server (ArcGIS Server 10) , they give unexpected runtime errors. The CSV script hangs up and the analysis script shows no result found, even though the result exists.

I have tried publishing the same scripts on ArcGIS Server 9.3.1 and the scripts work fine with Server 9.3.1.

Is it feasible to build the geoprocessing scripts in Desktop 9.3.1 and publish them in Server 10 ?

Regards
Nidhi
0 Kudos
3 Replies
SheriNorton
Frequent Contributor
Have you tried Python version 2.6? I'm not sure if that'll do the trick, but it's the version installed with ArcGIS 10 so it may make a difference.
0 Kudos
nidhiarora
Deactivated User
Do you have some idea as to whether it is feasible to use python 2.6 with ArcGIS desktop 9.3.1?  As by default python  2.5 is shipped with ArcGIS desktop 9.3.1.



Regards
Nidhi
0 Kudos
SheriNorton
Frequent Contributor
Sorry - Python 2.5 for 9.3.1. But the difference in ArcGIS versions (9.3.1 desktop versus 10 Server) may be where the problem lies.
0 Kudos