<?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 Unable to complete operation in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/unable-to-complete-operation/m-p/154950#M743</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am getting this JSON return on a Delete that reads:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
{
 "error": {
&amp;nbsp; "code": 400,
&amp;nbsp; "message": "Unable to complete operation.",
&amp;nbsp; "details": [
&amp;nbsp;&amp;nbsp; "Another application is currently editing the version. [sde.DEFAULT]"
&amp;nbsp; ]
 }
}
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Although, it seems to remove the item from the data base.&amp;nbsp; But,&amp;nbsp; the point will still show in the feature layer.&amp;nbsp; Sorta... It will show, then it will disappear.&amp;nbsp; Then later it seems to show again.&amp;nbsp; However, if you look at the table, the record is removed.&amp;nbsp; When it shows, you can click the point and get the attributes for it as if it is there though.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Mar 2013 13:04:31 GMT</pubDate>
    <dc:creator>TheoReaves</dc:creator>
    <dc:date>2013-03-19T13:04:31Z</dc:date>
    <item>
      <title>Unable to complete operation</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/unable-to-complete-operation/m-p/154950#M743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am getting this JSON return on a Delete that reads:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
{
 "error": {
&amp;nbsp; "code": 400,
&amp;nbsp; "message": "Unable to complete operation.",
&amp;nbsp; "details": [
&amp;nbsp;&amp;nbsp; "Another application is currently editing the version. [sde.DEFAULT]"
&amp;nbsp; ]
 }
}
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Although, it seems to remove the item from the data base.&amp;nbsp; But,&amp;nbsp; the point will still show in the feature layer.&amp;nbsp; Sorta... It will show, then it will disappear.&amp;nbsp; Then later it seems to show again.&amp;nbsp; However, if you look at the table, the record is removed.&amp;nbsp; When it shows, you can click the point and get the attributes for it as if it is there though.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Mar 2013 13:04:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/unable-to-complete-operation/m-p/154950#M743</guid>
      <dc:creator>TheoReaves</dc:creator>
      <dc:date>2013-03-19T13:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to complete operation</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/unable-to-complete-operation/m-p/154951#M744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did anyone solve this problem?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 May 2013 00:33:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/unable-to-complete-operation/m-p/154951#M744</guid>
      <dc:creator>arethasamuel</dc:creator>
      <dc:date>2013-05-01T00:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to complete operation</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/unable-to-complete-operation/m-p/154952#M745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm getting this same error using Silverlight API 3.0, SL 5, with ArcGIS Server 10.1-- does anyone know how to fix? Is there a setting on the server that allows concurrent editing?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 15:36:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/unable-to-complete-operation/m-p/154952#M745</guid>
      <dc:creator>ChrisSeabrooke</dc:creator>
      <dc:date>2013-09-20T15:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to complete operation</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/unable-to-complete-operation/m-p/154953#M746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also get the same problem. I don't know if it's possible to avoid that. Do you have some news?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ben&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 13:19:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/unable-to-complete-operation/m-p/154953#M746</guid>
      <dc:creator>BenjaminMercier</dc:creator>
      <dc:date>2013-10-09T13:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to complete operation</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/unable-to-complete-operation/m-p/154954#M747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I didn't find an outright solution, but I changed how I was working with the map and it works now.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I wanted was for a user to be able to add a point to a map and (if they wanted to move the point) they could click a different spot and the point would appear to move:&amp;nbsp; it would add the new point to the new spot and then remove the previous point they added.&amp;nbsp; This worked fine the first couple of points the user clicked, but then I would start getting the above error.&amp;nbsp; I changed my strategy to just working directly on the map and not calling applyEdits with each click.&amp;nbsp; Then when the user finishes with the point they want, they click a save button.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not a solution, put probably a better implementation for my particular case.&amp;nbsp; The feature class backing my service was registered as versioned, so I don't know why it seemed to be having trouble with multiple edits...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ken.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 13:44:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/unable-to-complete-operation/m-p/154954#M747</guid>
      <dc:creator>KenBurcham</dc:creator>
      <dc:date>2013-10-09T13:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to complete operation</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/unable-to-complete-operation/m-p/154955#M748</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;If it could help someone, Esri support answered about my problem which was this 400 error after applyEdits.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The (perfectible) solution was to limit &lt;/SPAN&gt;&lt;SPAN style="color:#333333;"&gt;to limit the maximum number of instance at 1 as parameter when the service is published. If you have more instances an applyEdits request will be sent to the AGS Server, and if the server is a bit overload, it will start a new instance. Your request will be processed by the new instance. Then, AGS will process that like if it's a new user (a different one) so it will lock the version while the other instance is working on edition. That was why I was unable to complete edition.&lt;BR /&gt;&lt;BR /&gt;I'm not sure f it's really clear, but I hope it helps.&lt;BR /&gt;&lt;BR /&gt;Ben&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2013 11:45:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/unable-to-complete-operation/m-p/154955#M748</guid>
      <dc:creator>BenjaminMercier</dc:creator>
      <dc:date>2013-12-13T11:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to complete operation</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/unable-to-complete-operation/m-p/154956#M749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I had a similar problem and here are the steps I took to resolve it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When sharing the service, under Pooling I tried setting "maximum number of instances per machine" = 1 but that did not work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried exporting to XML Workspace and File Geodatabase and then&amp;nbsp; re-importing but that did not work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I did this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Export to Shapefile&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Delete OBJECTID&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;keep Repairing Geometry until no errors remain&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Import into SDE&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rename fields and aliases that were corrupted during export to shape file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Reset Domains on Fields&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Register as versioned&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Create MXD&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Share as service and under Pooling set "maximum number of instances per machine" = 1&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 18:35:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/unable-to-complete-operation/m-p/154956#M749</guid>
      <dc:creator>ThomasRoussell</dc:creator>
      <dc:date>2014-06-18T18:35:47Z</dc:date>
    </item>
  </channel>
</rss>

