<?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 How to unlock SDE layers? in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/how-to-unlock-sde-layers/m-p/741899#M302</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an Enterprise GDB on ArcGIS Server 10.6.1 containing feature classes I own which I published on Portal for ArcGIS. Because layers are published, a lock is on these layers, in ArcGIS Pro 2.6.1, I cannot edit anything, neither rename and/or delete. I suspect the lock is caused by the Feature Service on ArcGIS Server... I am not Admiistrator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I read some documentation about this issue:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://enterprise.arcgis.com/en/server/latest/administer/windows/disabling-schema-locking-on-a-map-service.htm" title="https://enterprise.arcgis.com/en/server/latest/administer/windows/disabling-schema-locking-on-a-map-service.htm"&gt;Disable schema locking on a map service—ArcGIS Server | Documentation for ArcGIS Enterprise&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://enterprise.arcgis.com/en/server/latest/publish-services/windows/starting-and-stopping-services.htm" title="https://enterprise.arcgis.com/en/server/latest/publish-services/windows/starting-and-stopping-services.htm"&gt;Start and stop services—ArcGIS Server | Documentation for ArcGIS Enterprise&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And a similar problem:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/250719-sde-locks"&gt;https://community.esri.com/thread/250719-sde-locks&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ArcGIS Pro, how can I list the locks on my SDE layers? If the lock is due to ArcGIS Server, how can I stop the Feature Service in order to perform some edits in name and/or schema?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my workflow, I would like to simply replace a feature layer with a new version of that feature layer and hopefully the Feature Service will point to the new feature layer...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Sep 2020 12:56:28 GMT</pubDate>
    <dc:creator>VincentLaunstorfer</dc:creator>
    <dc:date>2020-09-28T12:56:28Z</dc:date>
    <item>
      <title>How to unlock SDE layers?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-to-unlock-sde-layers/m-p/741899#M302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an Enterprise GDB on ArcGIS Server 10.6.1 containing feature classes I own which I published on Portal for ArcGIS. Because layers are published, a lock is on these layers, in ArcGIS Pro 2.6.1, I cannot edit anything, neither rename and/or delete. I suspect the lock is caused by the Feature Service on ArcGIS Server... I am not Admiistrator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I read some documentation about this issue:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://enterprise.arcgis.com/en/server/latest/administer/windows/disabling-schema-locking-on-a-map-service.htm" title="https://enterprise.arcgis.com/en/server/latest/administer/windows/disabling-schema-locking-on-a-map-service.htm"&gt;Disable schema locking on a map service—ArcGIS Server | Documentation for ArcGIS Enterprise&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://enterprise.arcgis.com/en/server/latest/publish-services/windows/starting-and-stopping-services.htm" title="https://enterprise.arcgis.com/en/server/latest/publish-services/windows/starting-and-stopping-services.htm"&gt;Start and stop services—ArcGIS Server | Documentation for ArcGIS Enterprise&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And a similar problem:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/250719-sde-locks"&gt;https://community.esri.com/thread/250719-sde-locks&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ArcGIS Pro, how can I list the locks on my SDE layers? If the lock is due to ArcGIS Server, how can I stop the Feature Service in order to perform some edits in name and/or schema?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my workflow, I would like to simply replace a feature layer with a new version of that feature layer and hopefully the Feature Service will point to the new feature layer...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:56:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-to-unlock-sde-layers/m-p/741899#M302</guid>
      <dc:creator>VincentLaunstorfer</dc:creator>
      <dc:date>2020-09-28T12:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to unlock SDE layers?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-to-unlock-sde-layers/m-p/741900#M303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vincent - to see where the locks are, you can view them via the workflow listed &lt;A href="https://pro.arcgis.com/en/pro-app/help/data/geodatabases/manage-db2/manage-geodatabase-locks.htm"&gt;here&lt;/A&gt;.&amp;nbsp; Once you have that info, it should help you in determining where to release the lock.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:06:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-to-unlock-sde-layers/m-p/741900#M303</guid>
      <dc:creator>Robert_LeClair</dc:creator>
      <dc:date>2020-09-28T16:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to unlock SDE layers?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-to-unlock-sde-layers/m-p/741901#M304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. It is a good start...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I right-click a layer, unfortunately, options to View User or Disconnect are greyed out. Once you know there are existing locks, if you suspect a Feature Service locking a layer after publishing, apart from an Administrator, as I layer owner, can I stop the service to remove temporarely the lock? Otherwise, publishing layers can cause problems for database administration...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another idea, is there a better workflow to refresh a layer on which a Feature Service is based? I mean replacing the data source by a brand new layer with same schema and name...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:43:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-to-unlock-sde-layers/m-p/741901#M304</guid>
      <dc:creator>VincentLaunstorfer</dc:creator>
      <dc:date>2020-09-28T16:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to unlock SDE layers?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-to-unlock-sde-layers/m-p/741902#M305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're welcome!&amp;nbsp; So dataset and version owners can view locks for what they own.&amp;nbsp; Geodatabase administrators can view all locks and disconnect locks.&amp;nbsp; Your GDB Admin can release the locks (or stop the service) so one can publish/edit/etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since the underlying data is an Enterprise geodatabase you have the option to reference registered data (the eGDB feature class) OR copy the data to the server.&amp;nbsp; If you copy the data to the server then you have your eGDB production feature class is not connected to the feature service (it's standalone as it were.)&amp;nbsp; That may be the way you want to go perhaps?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the Help -&amp;nbsp; "&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;Sharing to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4c4c4c; background-color: #ffffff;"&gt;ArcGIS Enterprise&lt;/SPAN&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;with the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4c4c4c; background-color: #ffffff; font-weight: bold;"&gt;Reference registered data&lt;/SPAN&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;option requires the privilege to publish server-based layers. Sharing to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4c4c4c; background-color: #ffffff;"&gt;ArcGIS Enterprise&lt;/SPAN&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;with the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4c4c4c; background-color: #ffffff; font-weight: bold;"&gt;Copy all data&lt;/SPAN&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;option or sharing to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4c4c4c; background-color: #ffffff;"&gt;ArcGIS Online&lt;/SPAN&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;requires the privilege to publish hosted feature layers."&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:15:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-to-unlock-sde-layers/m-p/741902#M305</guid>
      <dc:creator>Robert_LeClair</dc:creator>
      <dc:date>2020-09-29T16:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to unlock SDE layers?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-to-unlock-sde-layers/m-p/741903#M306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks again. It is all really helpful and confirm what I thought... Registering data to portal layers creates locks which are not convenient whereas copy data to a hosted feature layer do not create locks but data are not in sync. If I was automating hosted layer refresh in ModelBuilder and/or Python, is there a geoprocessing tool to perform the right-click -&amp;gt; Sharing -&amp;gt; Overwrite Web Layer? I need a workflow to regularly refresh a hosted feature layer...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2020 16:09:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-to-unlock-sde-layers/m-p/741903#M306</guid>
      <dc:creator>VincentLaunstorfer</dc:creator>
      <dc:date>2020-10-01T16:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to unlock SDE layers?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-to-unlock-sde-layers/m-p/741904#M307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're welcome!&amp;nbsp; Yes, there is a workflow to overwrite web layers.&amp;nbsp; You can that workflow &lt;A href="https://pro.arcgis.com/en/pro-app/help/sharing/overview/overwrite-a-web-layer.htm"&gt;here&lt;/A&gt;.&amp;nbsp; I don't see this as a GP tool but you could create a &lt;A href="https://pro.arcgis.com/en/pro-app/help/tasks/whatistask.htm"&gt;Task &lt;/A&gt;to do this workflow if you like.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2020 16:13:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-to-unlock-sde-layers/m-p/741904#M307</guid>
      <dc:creator>Robert_LeClair</dc:creator>
      <dc:date>2020-10-01T16:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to unlock SDE layers?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-to-unlock-sde-layers/m-p/741905#M308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like I need to investigate Task... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Toolbox, I can only find Server Tools -&amp;gt; Publishing -&amp;gt; Replace Web Layer but it is not quite the same as Overwrite Web Layer and do not apply to feature layer apparently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would Task run in a scheduler?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need to find a compromise in my workflow...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2020 16:36:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-to-unlock-sde-layers/m-p/741905#M308</guid>
      <dc:creator>VincentLaunstorfer</dc:creator>
      <dc:date>2020-10-01T16:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to unlock SDE layers?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-to-unlock-sde-layers/m-p/741906#M309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It appears that one cannot schedule a task like you can with ModelBuilder models exported out to a Python script.&amp;nbsp; I searched to see if there's a way to export a Task to a Python script but don't see anything.&amp;nbsp; From the internals, it's stated that the intent of a Task is to be interacted with the user directly.&amp;nbsp; So it does not appear that one can automate a task.&amp;nbsp; I wonder if one could write a Python script to do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2020 16:47:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-to-unlock-sde-layers/m-p/741906#M309</guid>
      <dc:creator>Robert_LeClair</dc:creator>
      <dc:date>2020-10-01T16:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to unlock SDE layers?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-to-unlock-sde-layers/m-p/1114220#M7425</link>
      <description>&lt;P&gt;Hi just wondering if you found a solution to this? I have a csv that I geocode every morning. Since the layer has been published in federate portal, there is always a lock. Next morning, my python script cannot work properly because of the lock.&amp;nbsp;&lt;BR /&gt;I would appreciate a solution to this.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 18:40:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-to-unlock-sde-layers/m-p/1114220#M7425</guid>
      <dc:creator>al_Dhakal</dc:creator>
      <dc:date>2021-11-04T18:40:03Z</dc:date>
    </item>
  </channel>
</rss>

