Script in REST service performs differently than stanalone script

465
0
07-13-2012 10:51 AM
RyanKelley
New Contributor II
My error happens using arcpy.SelectLayerByLocation_management().  My whole script works great as a stand alone, but fails when running as a REST service.

Error: Layer_sel = arcpy.SelectLayerByLocation_management(Layer_FL, "INTERSECT", Input_lyr) File "C:\Program Files (x86)\ArcGIS\Server10.0\arcpy\arcpy\management.py", line 4381, in SelectLayerByLocation raise e ExecuteError: ERROR 000520: Unexpected TopoEngine Error Failed to execute (SelectLayerByLocation). ERROR 000520: Unexpected TopoEngine

My selection set I have been testing this less than 10 features.

???
0 Kudos
0 Replies