AnsweredAssumed Answered

Utilities Abandon Features Tool Not Working with Enterprise Geodatabase?

Question asked by alantoms on May 10, 2013
Latest reply on May 3, 2017 by LanceCole
Hello,

I am having an issue with the Abandon Features script from the Water Utility Network Editing tools.

I am trying to abandon a feature from the wMain feature class.  If the the abandon features are set to go to the wAbandonedLine feature class on my enterprise geodatabase it will fail with the below message.  If I set it to the wAbandonedLine in the file geodatabase that came with the tools it works fine.  It is a 10.1 SP1 environment.  The enterprise geodatabase is using the SQL geometry spatail type.  Any ideas?


Executing: AbandonFeatures 'Water Mains' "Water Abandoned Lines" "Water Abandoned Points" true LINETYPE POINTTYPE "Record Set"
Start Time: Fri May 10 09:05:12 2013
Running script AbandonFeatures...
Starting Abandon Selected Features Script
Processing Parameters
Abandoning Selected Features in GISData.GISADMIN.wMain
Water Mains is a Polyline with 1 selected
Traceback (most recent call last):
  File "C:\IS_Support\UtilityNetworkEditingfor10.1\Application\Abandon Tools\AbandonSelectedFeatures.py", line 204, in <module>
    newRow.setValue(fieldName, row.getValue(fieldName))
  File "c:\program files (x86)\arcgis\desktop10.1\arcpy\arcpy\arcobjects\arcobjects.py", line 1040, in setValue
    return convertArcObjectToPythonObject(self._arc_object.SetValue(*gp_fixargs(args)))
RuntimeError: ERROR 999999: Error executing function.
Field is not editable.
ERROR 999999: Error executing function.
Field is not editable.
Script Complete
Completed script AbandonFeatures...
Failed to execute (AbandonFeatures).
Failed at Fri May 10 09:05:13 2013 (Elapsed Time: 1.00 seconds)

Outcomes