Run Time Error: Insufficient Permissions

Last Published: April 25, 2020

Error Message

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.

Solution or Workaround

Group your edits between the StartEditOperation and StopEditOperation methods. All edits can be made within a single edit operation.

'Start the Edit Operation
pEditor.StartEditing pWorkspace

'Store the new feature
Dim pfeat As IFeature
Set pfeat = pFeatcls.CreateFeature
Set pfeat.Shape = tmpPoint

'Stop the Edit Operation
pEditor.StopOperation "StopOp"
pEditor.StopEditing True

Article ID:000002720

  • ArcMap 8 x

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options