Hi all,
I am using the File Geodatabase API v.1.5.1 with .NET and when I try to insert a new row into an existing Feature Class, I get the following the error "The user does not have permission to execute the operation".
1. Geodatabase geodatabase = Geodatabase.Open(@"C:\temp\MyTest.gdb");
2. Table table = geodatabase.OpenTable("\\MyFeatureClass");
3. Row newRow = table.CreateRowObject();
4. PointShapeBuffer sb = new PointShapeBuffer();
5. sb.Setup(ShapeType.Point);
6. Point point = new Point(x,y);
7. sb.point = point;
8. newRow.SetGeometry(sb);
9. table.Insert(newRow);
10. geodatabase.Close();
What I have noticed is that the property table.IsEditable is false in my test. In the "Editing" sample that comes with the API it works fine when they open the "Cities" Feature class. The property table.IsEditable is set to true. Is this related to the problem I am seeing?
BTW the geo database I am playing with, is created in ArcGis Pro 2.4.2.
Is there a way to solve the issue?
Many thanks in advance,
Greg