Table Not Editable !!!

2697
5
Jump to solution
10-12-2017 09:51 AM
Highlighted
New Contributor II

I am adding a field to a feature layer in a geodatabase using AddField in Model builder but I am returned wit the error message "

ERROR 000499: table is not editable.

When I try to manually edit the same layer using start editing it is editable. I checked for Locks on the geodatabase and there are no lock files on that work space. I wonder if any body can help resolving this problem

Hossam

 

Reply
0 Kudos
1 Solution

Accepted Solutions
Highlighted
New Contributor II

I figured out whats the problem. It was that this layer is joined to another table. Removing the join solves the problem and addField in the model works fine. Thank you all.

View solution in original post

Reply
0 Kudos
5 Replies
Highlighted
Occasional Contributor III

Hossameldin,

Check the link provided below. 

000499: Table is not editable.—Help | ArcGIS Desktop 

Hopefully, it helps you.

Highlighted
Occasional Contributor III

Are you trying to edit the feature class while adding fields?  This will prevent you from adding it.  Fields can only be added outside an edit session.

Highlighted
Regular Contributor

Kevin is correct, stop the edit session, add the field then start the edit session again. 

Reply
0 Kudos
Highlighted
New Contributor II

No the workspace is not open for editing while trying to add the field programmatically in the model. It is not the issue. Thank you.

Reply
0 Kudos
Highlighted
New Contributor II

I figured out whats the problem. It was that this layer is joined to another table. Removing the join solves the problem and addField in the model works fine. Thank you all.

View solution in original post

Reply
0 Kudos