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.
???