<?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 Feature classes locked by ArcGIS server services in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/feature-classes-locked-by-arcgis-server-services/m-p/46129#M1637</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Kevin, thank you for the reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I took a look at the &amp;lt;SchemaLockingEnabled&amp;gt; property of the service configuration and it seems like a good solution but I finally settled on using the AGSSOM tool inside a script in my model to stop and start the service&amp;nbsp; while the overwrite is taking place (as suggested by Andrew in the ArcGIS Server General forum.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's a link to the AGSSOM tool for anyone interested in this functionality:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.esri.com/arcgisserver/adf/dotnet/index.cfm?fa=codeGalleryDetails&amp;amp;scriptID=16293"&gt;http://resources.esri.com/arcgisserver/adf/dotnet/index.cfm?fa=codeGalleryDetails&amp;amp;scriptID=16293&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Apr 2010 20:21:56 GMT</pubDate>
    <dc:creator>JacksonTrappett</dc:creator>
    <dc:date>2010-04-22T20:21:56Z</dc:date>
    <item>
      <title>Feature classes locked by ArcGIS server services</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/feature-classes-locked-by-arcgis-server-services/m-p/46127#M1635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have several models that we use to update our datasets on a weekly or monthly basis due to changes in parcels and new annexations, etc.&amp;nbsp; The final output of these models overwrites production feature classes in our SDE geodatabase.&amp;nbsp; These same feature classes are used by our ArcGIS Server services for our web maps.&amp;nbsp; Of course every time we run the models I first have to stop the services so that the SDE datasets are not locked while they run/overwrite.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I'm looking for is one of two things:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A. A way in model builder to stop and then restart the services only during the part of the model that is overwriting the feature class.&amp;nbsp; Can services be stopped and started in Model builder?&amp;nbsp; I haven't seen a way yet.&amp;nbsp; This option would allow me to run our large models (some of them take 30 to 45 minutes to run) without having to have the services stopped for the entire time, which I don???t like to do because it makes them unavailable to customers for the duration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;B. A better publishing model for ArcGIS Server that doesn't lock the datasets.&amp;nbsp; The only one I've been able to come up with so far would be to have two copies of the same SDE database.&amp;nbsp; One of them would be the one we update with our models and edit, and the other would be the one the ArcGIS server services are hooked into.&amp;nbsp; The two would be linked by one way replication, which can synchronize the changes without having to stop the services.&amp;nbsp; This seems like the best option to me but it requires quite a bit of work to create and maintain another SDE geodatabase.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone have ideas for me on either A or B or both?&amp;nbsp; If A is possible I will probably just go with it since it is much easier to set up and maintain.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Apr 2010 16:45:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/feature-classes-locked-by-arcgis-server-services/m-p/46127#M1635</guid>
      <dc:creator>JacksonTrappett</dc:creator>
      <dc:date>2010-04-21T16:45:05Z</dc:date>
    </item>
    <item>
      <title>Feature classes locked by ArcGIS server services</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/feature-classes-locked-by-arcgis-server-services/m-p/46128#M1636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Jackson,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You'll probably address this issue more on the Server side than you will with your Models.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have a look at this help topic: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#//0093000000mr000000.htm"&gt;http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#//0093000000mr000000.htm&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;and search for: &amp;lt;SchemaLockingEnabled&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(this is a 10 topic but this specific point should be the same for 9.3.1).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As stated, use caution when using this tag. Though it sounds like you're already aware of the risks and what you need to do.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Apr 2010 16:08:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/feature-classes-locked-by-arcgis-server-services/m-p/46128#M1636</guid>
      <dc:creator>KevinHibma</dc:creator>
      <dc:date>2010-04-22T16:08:31Z</dc:date>
    </item>
    <item>
      <title>Feature classes locked by ArcGIS server services</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/feature-classes-locked-by-arcgis-server-services/m-p/46129#M1637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Kevin, thank you for the reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I took a look at the &amp;lt;SchemaLockingEnabled&amp;gt; property of the service configuration and it seems like a good solution but I finally settled on using the AGSSOM tool inside a script in my model to stop and start the service&amp;nbsp; while the overwrite is taking place (as suggested by Andrew in the ArcGIS Server General forum.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's a link to the AGSSOM tool for anyone interested in this functionality:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.esri.com/arcgisserver/adf/dotnet/index.cfm?fa=codeGalleryDetails&amp;amp;scriptID=16293"&gt;http://resources.esri.com/arcgisserver/adf/dotnet/index.cfm?fa=codeGalleryDetails&amp;amp;scriptID=16293&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Apr 2010 20:21:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/feature-classes-locked-by-arcgis-server-services/m-p/46129#M1637</guid>
      <dc:creator>JacksonTrappett</dc:creator>
      <dc:date>2010-04-22T20:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: Feature classes locked by ArcGIS server services</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/feature-classes-locked-by-arcgis-server-services/m-p/46130#M1638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm having virtually identical problem as the one posted by Jackson, it's a major P.I.T.A. to refresh data in SDE once it' s being consumed by a web service so I'm looking forward to trying out the &amp;lt;SchemaLockingEnabled&amp;gt; in 10.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I do have one follow up question along the same lines though; why would I have schema locks on an feature class that isn't being used by any of my web services?&amp;nbsp; At least it shouldn't be used by the web services because it isn't referenced in any of the MXD files they are using, yet I can't delete the feature class unless I shut down all of my ArcGIS services first.&amp;nbsp; What's up with that?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jun 2010 17:37:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/feature-classes-locked-by-arcgis-server-services/m-p/46130#M1638</guid>
      <dc:creator>GaryBraun</dc:creator>
      <dc:date>2010-06-01T17:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: Feature classes locked by ArcGIS server services</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/feature-classes-locked-by-arcgis-server-services/m-p/46131#M1639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Like others in this thread,&amp;nbsp;&amp;nbsp;&amp;nbsp; we have been having some issues updating our SDE feature classes when they are used by ArcGIS Server Map Service.&amp;nbsp;&amp;nbsp; I just tried adding the schemalockenabled tag set to false on a map service on ArcGIS Server 9.3.1 SP1 and was not able to update the feature class as it returned a lock on the feature class.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; We have been using the 'sledge hammer' approach of stopping all ArcGIS Map Services while loading data, but it would be nice to not have to stop these services.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am wrong in believing that this functionality was added in SP1? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We also break connections to our ArcSDE databases using SDEMON -o kill, but this does not work against the ArcGIS Map Services so we have to stop them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am curious as to how others are dealing with these locking issues so let me know if anyone in this thread has made some progress in dealing with this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mele&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jun 2010 02:33:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/feature-classes-locked-by-arcgis-server-services/m-p/46131#M1639</guid>
      <dc:creator>MeleKoneya</dc:creator>
      <dc:date>2010-06-03T02:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Feature classes locked by ArcGIS server services</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/feature-classes-locked-by-arcgis-server-services/m-p/46132#M1640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think you can avoid all these issues by deleting and appending features instead of overwriting a whole feature class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you run a tool that replaces a feature class, then you're actually deleting a feature class and creating a new one.&amp;nbsp; In other words, you're changing the database schema, even though the schema ends up looking just like what you started with (same feature class and fields).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;An alternative is to keep the existing feature class, delete the features from it, and append new features into it.&amp;nbsp; This way, you don't need a schema lock, even though the end result is the same as the other method.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jun 2010 14:30:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/feature-classes-locked-by-arcgis-server-services/m-p/46132#M1640</guid>
      <dc:creator>JasonWise</dc:creator>
      <dc:date>2010-06-07T14:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Feature classes locked by ArcGIS server services</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/feature-classes-locked-by-arcgis-server-services/m-p/46133#M1641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jason,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your info.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm currently using sde commands in shell script to update those locked FCs,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sdetable -o truncate ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sdeexport -o create ... | sdeimport -o append ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Our data maintenance people don't have access to the sde commands. I've been looking for a way so that they can do the same thing in ArcCatalog, but never realized the Delete feature and Append tools can do it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jun 2010 17:55:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/feature-classes-locked-by-arcgis-server-services/m-p/46133#M1641</guid>
      <dc:creator>RobertHu</dc:creator>
      <dc:date>2010-06-07T17:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: Feature classes locked by ArcGIS server services</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/feature-classes-locked-by-arcgis-server-services/m-p/46134#M1642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Jason.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have rewritten my import code to Delete and then Append.&amp;nbsp;&amp;nbsp; By doing so it alleviates the Locking issues both with ArcGIS Server and ArcMap Desktop clients accessing the data.&amp;nbsp;&amp;nbsp;&amp;nbsp; Great suggestion.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jun 2010 19:18:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/feature-classes-locked-by-arcgis-server-services/m-p/46134#M1642</guid>
      <dc:creator>MeleKoneya</dc:creator>
      <dc:date>2010-06-07T19:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Feature classes locked by ArcGIS server services</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/feature-classes-locked-by-arcgis-server-services/m-p/46135#M1643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I think you can avoid all these issues by deleting and appending features instead of overwriting a whole feature class.&lt;BR /&gt;&lt;BR /&gt;If you run a tool that replaces a feature class, then you're actually deleting a feature class and creating a new one.&amp;nbsp; In other words, you're changing the database schema, even though the schema ends up looking just like what you started with (same feature class and fields).&lt;BR /&gt;&lt;BR /&gt;An alternative is to keep the existing feature class, delete the features from it, and append new features into it.&amp;nbsp; This way, you don't need a schema lock, even though the end result is the same as the other method.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm having similar problems and was considering this approach.&amp;nbsp; My concern is that since our data is versioned, repeatedly deleating records only to repopulate them along with a few changes is going to have a significant impact on the size of our delta tables.&amp;nbsp; Can anyone using this method with versioned data comment on how significant the impact actually is?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bart&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jun 2010 16:44:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/feature-classes-locked-by-arcgis-server-services/m-p/46135#M1643</guid>
      <dc:creator>BartPouteau</dc:creator>
      <dc:date>2010-06-10T16:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: Feature classes locked by ArcGIS server services</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/feature-classes-locked-by-arcgis-server-services/m-p/46136#M1644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Bart,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; You don't have to version the feature classes that have there records deleted and appended.&amp;nbsp; There is no reason to that I can think off.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jun 2010 17:13:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/feature-classes-locked-by-arcgis-server-services/m-p/46136#M1644</guid>
      <dc:creator>RandyKreuziger</dc:creator>
      <dc:date>2010-06-10T17:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Feature classes locked by ArcGIS server services</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/feature-classes-locked-by-arcgis-server-services/m-p/46137#M1645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Randy,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I may be misunderstanding your reply, but the data in questions wasn't versioned to accommodate this process.&amp;nbsp; It was versioned for other business process reasons.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bart&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jun 2010 16:28:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/feature-classes-locked-by-arcgis-server-services/m-p/46137#M1645</guid>
      <dc:creator>BartPouteau</dc:creator>
      <dc:date>2010-06-16T16:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: Feature classes locked by ArcGIS server services</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/feature-classes-locked-by-arcgis-server-services/m-p/46138#M1646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My recommendation would be to work within the versioning framework, programmatically creating a child version to add/delete/modify your features, especially if versioning is already a business process requirement.&amp;nbsp; You can then even run an automated reconcile/post process to push the updated records up to the ArcGIS server 'display' version, or alternatively run the updated features through your normal QA/QC processes.&amp;nbsp; It's a little more overhead than simply overwriting feature classes in their entirety, but works pretty well and fits nicely within the standard versioning/business process without impacting other ArcGIS data operations.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jun 2010 17:25:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/feature-classes-locked-by-arcgis-server-services/m-p/46138#M1646</guid>
      <dc:creator>JaredAndre</dc:creator>
      <dc:date>2010-06-16T17:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Feature classes locked by ArcGIS server services</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/feature-classes-locked-by-arcgis-server-services/m-p/46139#M1647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I created the following to append features&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public static void AppendFeatures(string inFC, string outFC)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ESRI.ArcGIS.Geoprocessor.Geoprocessor GP = new ESRI.ArcGIS.Geoprocessor.Geoprocessor();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Append AppendFeatures = new Append();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AppendFeatures.schema_type = "NO_TEST";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AppendFeatures.inputs = inFC;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AppendFeatures.target = outFC;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RunTool(GP, AppendFeatures, null);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;RunTool is calling a method with code that Chad Cooper wrote and is available at &lt;/SPAN&gt;&lt;A href="http://www.esri.com/news/arcuser/0410/gpandnet.html"&gt;http://www.esri.com/news/arcuser/0410/gpandnet.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The code above works great on everything but Annotation,&amp;nbsp;&amp;nbsp;&amp;nbsp; any suggestions on how to append to Annotation?&amp;nbsp;&amp;nbsp;&amp;nbsp; Threre is AppendAnnotationFeatureClasses Tool, but it creates a new feature class from inputs rather than appending to an existing feature class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mele&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jun 2010 14:23:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/feature-classes-locked-by-arcgis-server-services/m-p/46139#M1647</guid>
      <dc:creator>MeleKoneya</dc:creator>
      <dc:date>2010-06-22T14:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: Feature classes locked by ArcGIS server services</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/feature-classes-locked-by-arcgis-server-services/m-p/46140#M1648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Like others in this thread,&amp;nbsp;&amp;nbsp;&amp;nbsp; we have been having some issues updating our SDE feature classes when they are used by ArcGIS Server Map Service.&amp;nbsp;&amp;nbsp; I just tried adding the schemalockenabled tag set to false on a map service on ArcGIS Server 9.3.1 SP1 and was not able to update the feature class as it returned a lock on the feature class.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; We have been using the 'sledge hammer' approach of stopping all ArcGIS Map Services while loading data, but it would be nice to not have to stop these services.&lt;BR /&gt;&lt;BR /&gt;I am wrong in believing that this functionality was added in SP1? &lt;BR /&gt;&lt;BR /&gt;We also break connections to our ArcSDE databases using SDEMON -o kill, but this does not work against the ArcGIS Map Services so we have to stop them.&lt;BR /&gt;&lt;BR /&gt;I am curious as to how others are dealing with these locking issues so let me know if anyone in this thread has made some progress in dealing with this.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Mele&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you restart the SOM on the server after you updated the cfg files?&amp;nbsp; If you don't, it won't recognise the addition of the schemalockingenabled tag.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tamara&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2011 23:44:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/feature-classes-locked-by-arcgis-server-services/m-p/46140#M1648</guid>
      <dc:creator>TamaraRosenzweig</dc:creator>
      <dc:date>2011-06-02T23:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: Feature classes locked by ArcGIS server services</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/feature-classes-locked-by-arcgis-server-services/m-p/46141#M1649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;we have faced a similar issue at my office, depending on the process and the what the intentions of your results are I would recommend establishing the workspace and the scratch workspace of the model to be on a local drive. This allows you to work seperate from SDE and can prevent from having model intermediates or outputs from locking down services. I actually recommend creating variables and setting them as parameters so that for each time you use the model you can establish a new work space. It may create some redundancy issues but as long as you are aware of it I see no real problem. If you are not familiar with enviroments and workspaces it might be good to check out esri's advanced model builder book.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jul 2013 15:34:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/feature-classes-locked-by-arcgis-server-services/m-p/46141#M1649</guid>
      <dc:creator>chapcole</dc:creator>
      <dc:date>2013-07-01T15:34:33Z</dc:date>
    </item>
  </channel>
</rss>

