Python RuntimeError in Geoprocessing Service: DescribeData: Method * does not exist

1655
0
10-26-2012 02:17 AM
MartinRick
Occasional Contributor II
Hi Python developer,

I created a script, which adds a field to a feature class and adds a value to this new field for each feature in the class.

On my local machine everything works just fine as a Tool in ArcGIS Desktop, but when I try to share the Tool as a geoprocessing service with my ArcGIS Server 10.0 (.net) I get a RuntimeError for my Describe Object. It seems that no call to the describe object properties can be made. I always get the message

<type 'exceptions.RuntimeError'>: DescribeData: Method ****** does not exist

You can exchange the ***** to any property of the describe object (e.g. catalogpath, path or DataType)

Now I tried to use another ArcGIS Server 10.0 (.net) and everything works fine.

Does anyone have an idea why one Server can use the descrie object from arcpy and the other ArcGIS Server can not?

All ideas are highly welcome!

With regards,

Martin
Tags (2)
0 Kudos
0 Replies