<?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 Re: Editing Layer with ArcObjects 10 C# in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/editing-layer-with-arcobjects-10-c/m-p/607495#M16279</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you have multiple users writing the database at the same time I would take a look at what the versioning workflow has to offer.&amp;nbsp; Unless your transactions are very short and there are no risks of collisions (like you seem to get), versioning is an attractive model.&amp;nbsp; The following links talks about this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/d/00010000010s000000.htm"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/d/00010000010s000000.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/d/0001000000qt000000.htm"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/d/0001000000qt000000.htm&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 May 2011 18:58:25 GMT</pubDate>
    <dc:creator>AlexanderGray</dc:creator>
    <dc:date>2011-05-26T18:58:25Z</dc:date>
    <item>
      <title>Editing Layer with ArcObjects 10 C#</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/editing-layer-with-arcobjects-10-c/m-p/607494#M16278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am working with a Layer stored in SQL Server via SDE and looking for some advice on how to handle the edit sessions. Currently i have users who are going to be writing between 10-500 points to the layer at a time. At first I had the code setup to use the edit session like below&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pWorkspaceEdit.StartEditing(false);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pWorkspaceEdit.StartEditOperation();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;//code for adding the point to the layer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pWorkspaceEdit.StopEditOperation();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pWorkspaceEdit.StopEditing(true);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This was causing an error "version has been redefined to reference a new database state"(i think that was the text from the error), this would happen when more than one user would attempt to edit the layer at the same time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So i removed the start/stop EditOperation lines and that solved the version redifined error, but now every once in a while i will get another error "Underlying DBMS error [dbo.DEFAULT]" when writing to the layer. It doesnt seem to be a data error because I can use the same dataset and sometimes i will get the error and sometimes I wont.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also on a side note if anyone knows of a better way to write bulk points to a layer I am open to suggestions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Brian&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 18:49:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/editing-layer-with-arcobjects-10-c/m-p/607494#M16278</guid>
      <dc:creator>brianrathburn</dc:creator>
      <dc:date>2011-05-26T18:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: Editing Layer with ArcObjects 10 C#</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/editing-layer-with-arcobjects-10-c/m-p/607495#M16279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you have multiple users writing the database at the same time I would take a look at what the versioning workflow has to offer.&amp;nbsp; Unless your transactions are very short and there are no risks of collisions (like you seem to get), versioning is an attractive model.&amp;nbsp; The following links talks about this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/d/00010000010s000000.htm"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/d/00010000010s000000.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/d/0001000000qt000000.htm"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/d/0001000000qt000000.htm&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 18:58:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/editing-layer-with-arcobjects-10-c/m-p/607495#M16279</guid>
      <dc:creator>AlexanderGray</dc:creator>
      <dc:date>2011-05-26T18:58:25Z</dc:date>
    </item>
  </channel>
</rss>

