ERROR
Editing a versioned SDE geodatabase using ArcObjects returns:
Run Time Error: Insufficient Permissions
Programmatic edits to an SDE geodatabase require at least one edit operation.
Group your edits between the StartEditOperation and StopEditOperation methods. All edits can be made within a single edit operation.
Code:
'Start the Edit Operation
pEditor.StartEditing pWorkspace
pEditor.StartOperation
'Store the new feature
Dim pfeat As IFeature
Set pfeat = pFeatcls.CreateFeature
Set pfeat.Shape = tmpPoint
pfeat.Store
'Stop the Edit Operation
pEditor.StopOperation "StopOp"
pEditor.StopEditing True
Get help from ArcGIS experts
Download the Esri Support App