Error: Automation error Unspecified error

Error Message

When the edit operation being aborted is in an edit session started with IWorkspaceEdit.StartEditing whose WithUndoRedo parameter is false against an ArcSDE geodatabase, IWorkspaceEdit.AbortEditOperation returns the following error:

"Automation error
Unspecified error"


ArcSDE geodatabases expect the IWorkspaceEdit.StartEditing method to be set with the withUndoRedo parameter set to True.

Solution or Workaround

Start editing by calling IWorkspaceEdit.StartEditing(True).