<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic The user does not have permission to execute the operation in File Geodatabase API Questions</title>
    <link>https://community.esri.com/t5/file-geodatabase-api-questions/the-user-does-not-have-permission-to-execute-the/m-p/325039#M547</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using&amp;nbsp; 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".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Geodatabase geodatabase = Geodatabase.Open(@"C:\temp\MyTest.gdb");&lt;BR /&gt;2. Table table = geodatabase.OpenTable("\\MyFeatureClass");&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Row newRow = table.CreateRowObject();&lt;/P&gt;&lt;P&gt;4. PointShapeBuffer sb = new PointShapeBuffer();&lt;BR /&gt;&lt;SPAN&gt;5. sb&lt;/SPAN&gt;.Setup(ShapeType.Point);&lt;BR /&gt;6. Point point = new Point(x,y);&lt;BR /&gt;&lt;SPAN&gt;7. sb&lt;/SPAN&gt;.point = point;&lt;/P&gt;&lt;P&gt;8. newRow.SetGeometry(&lt;SPAN&gt;sb&lt;/SPAN&gt;);&lt;/P&gt;&lt;P&gt;9. table.Insert(newRow);&lt;/P&gt;&lt;P&gt;10. geodatabase.Close();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I have noticed is that the property &lt;SPAN&gt;table.&lt;/SPAN&gt;IsEditable is false in my test. In the "Editing" sample that comes with the API it&amp;nbsp;works fine when they open the "Cities" Feature class. The property&amp;nbsp;&lt;SPAN&gt;table.&lt;/SPAN&gt;&lt;SPAN&gt;IsEditable is&amp;nbsp;set to true. Is this related to the problem I am seeing?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BTW&amp;nbsp;the geo database I am playing with, is created in ArcGis Pro 2.4.2.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there a way to solve the issue?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Many thanks in advance,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Greg&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Nov 2019 20:32:25 GMT</pubDate>
    <dc:creator>ΔΕΥΑΚέρκυρας</dc:creator>
    <dc:date>2019-11-15T20:32:25Z</dc:date>
    <item>
      <title>The user does not have permission to execute the operation</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/the-user-does-not-have-permission-to-execute-the/m-p/325039#M547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using&amp;nbsp; 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".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Geodatabase geodatabase = Geodatabase.Open(@"C:\temp\MyTest.gdb");&lt;BR /&gt;2. Table table = geodatabase.OpenTable("\\MyFeatureClass");&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Row newRow = table.CreateRowObject();&lt;/P&gt;&lt;P&gt;4. PointShapeBuffer sb = new PointShapeBuffer();&lt;BR /&gt;&lt;SPAN&gt;5. sb&lt;/SPAN&gt;.Setup(ShapeType.Point);&lt;BR /&gt;6. Point point = new Point(x,y);&lt;BR /&gt;&lt;SPAN&gt;7. sb&lt;/SPAN&gt;.point = point;&lt;/P&gt;&lt;P&gt;8. newRow.SetGeometry(&lt;SPAN&gt;sb&lt;/SPAN&gt;);&lt;/P&gt;&lt;P&gt;9. table.Insert(newRow);&lt;/P&gt;&lt;P&gt;10. geodatabase.Close();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I have noticed is that the property &lt;SPAN&gt;table.&lt;/SPAN&gt;IsEditable is false in my test. In the "Editing" sample that comes with the API it&amp;nbsp;works fine when they open the "Cities" Feature class. The property&amp;nbsp;&lt;SPAN&gt;table.&lt;/SPAN&gt;&lt;SPAN&gt;IsEditable is&amp;nbsp;set to true. Is this related to the problem I am seeing?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BTW&amp;nbsp;the geo database I am playing with, is created in ArcGis Pro 2.4.2.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there a way to solve the issue?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Many thanks in advance,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Greg&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2019 20:32:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/the-user-does-not-have-permission-to-execute-the/m-p/325039#M547</guid>
      <dc:creator>ΔΕΥΑΚέρκυρας</dc:creator>
      <dc:date>2019-11-15T20:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: The user does not have permission to execute the operation</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/the-user-does-not-have-permission-to-execute-the/m-p/325040#M548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found this&amp;nbsp;&lt;A href="https://knowledge.safe.com/questions/3970/geodatabase-error-2147220987-the-user-does-not-hav.html"&gt;Geodatabase Error (-2147220987): The user does not have permission to execute the operation.&lt;/A&gt;&amp;nbsp;which doesn't help at all as I am not using any writer. In fact I do not know what they are. I just use file geodatabase API to open a db from file and insert a row into a feature class.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Nov 2019 08:25:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/the-user-does-not-have-permission-to-execute-the/m-p/325040#M548</guid>
      <dc:creator>ΔΕΥΑΚέρκυρας</dc:creator>
      <dc:date>2019-11-16T08:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: The user does not have permission to execute the operation</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/the-user-does-not-have-permission-to-execute-the/m-p/325041#M549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am attaching a sample project that demos the problem. The project is built using the x64 dlls from the API.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Nov 2019 08:49:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/the-user-does-not-have-permission-to-execute-the/m-p/325041#M549</guid>
      <dc:creator>ΔΕΥΑΚέρκυρας</dc:creator>
      <dc:date>2019-11-16T08:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: The user does not have permission to execute the operation</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/the-user-does-not-have-permission-to-execute-the/m-p/325042#M550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #000000; background-color: #ffffff;"&gt;Apparently there are limitations that prohibit users from altering the data. Below is an extract from the manual.&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff;"&gt;&lt;STRONG style="text-decoration: underline; "&gt;Limitations of the File Geodatabase API&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff;"&gt;While the File Geodatabase API supports reading the schema and data of complex geodatabase types, the API does not honor geodatabase behavior on inserts, deletes or updates to the following dataset types:&lt;/P&gt;&lt;UL style="color: #000000; background-color: #ffffff; font-size: 14px;"&gt;&lt;LI&gt;Annotation and Dimension feature classes&lt;/LI&gt;&lt;LI&gt;Relationship Classes&lt;/LI&gt;&lt;LI&gt;Networks (GN and ND)&lt;/LI&gt;&lt;LI&gt;Topologies&lt;/LI&gt;&lt;LI&gt;Terrains&lt;/LI&gt;&lt;LI&gt;Representations&lt;/LI&gt;&lt;LI&gt;Parcel Fabrics&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #000000; background-color: #ffffff;"&gt;In most cases the API will prevent users from attempting to edit objects with complex behavior, but the onus is on the developer to understand what they should and should not edit through the API and avoid editing datasets that have geodatabase behavior. There is a method called Table::IsEditable which will provide developers with the ability to determine whether a dataset can be safely edited.&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff;"&gt;Other limitations of the File Geodatabase API:&lt;/P&gt;&lt;UL style="color: #000000; background-color: #ffffff; font-size: 14px;"&gt;&lt;LI&gt;Rasters (Raster Dataset, Raster Catalog, Mosaic Datasets and Raster Attributes) are not supported.&lt;/LI&gt;&lt;LI&gt;Spatial queries with the File Geodatabase API will be limited to the envelope-intersects operator.&lt;/LI&gt;&lt;LI&gt;Secure (licensed) Data is not supported.&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2019 09:46:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/the-user-does-not-have-permission-to-execute-the/m-p/325042#M550</guid>
      <dc:creator>ΔΕΥΑΚέρκυρας</dc:creator>
      <dc:date>2019-11-18T09:46:37Z</dc:date>
    </item>
  </channel>
</rss>

