<?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: lock request conflicts with an established lock [STATE_ID = 417401 in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/lock-request-conflicts-with-an-established-lock/m-p/1289163#M8457</link>
    <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;Thank you&amp;nbsp;@MarceloMarques and&amp;nbsp;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/444887"&gt;@RudraniChakraborty&lt;/a&gt;,&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;We opened also a ticket with Esri to get their assistance.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Regards&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 15 May 2023 14:55:57 GMT</pubDate>
    <dc:creator>JoseSanchez</dc:creator>
    <dc:date>2023-05-15T14:55:57Z</dc:date>
    <item>
      <title>lock request conflicts with an established lock [STATE_ID = 417401</title>
      <link>https://community.esri.com/t5/geodatabase-questions/lock-request-conflicts-with-an-established-lock/m-p/1288891#M8452</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;When an editor was working in ArcMap, the connection was lost to the geodatabase in an editing version session, The version shows now as locked in Sde Sql server 2019 .&lt;/P&gt;&lt;P&gt;We disconnected all processes from geodatabase and tried to delete the version in ArcCatalog with the admin account, but it does not work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Message:&lt;/P&gt;&lt;P&gt;Lock request conflicts with an established lock [...][STATE_ID = 417401]. What else ca we do?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 13 May 2023 19:29:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/lock-request-conflicts-with-an-established-lock/m-p/1288891#M8452</guid>
      <dc:creator>JoseSanchez</dc:creator>
      <dc:date>2023-05-13T19:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: lock request conflicts with an established lock [STATE_ID = 417401</title>
      <link>https://community.esri.com/t5/geodatabase-questions/lock-request-conflicts-with-an-established-lock/m-p/1288963#M8453</link>
      <description>&lt;P&gt;Hello,&amp;nbsp; what you mean by "Admin Account" ??? you mean that you disconnected all users / services connections from the geodatabase and connected in ArcCatalog with the "&lt;STRONG&gt;sde&lt;/STRONG&gt;" user and tried to delete the version and you still could not delete the version. In that case then open the "locks" tab and delete all the locks, close ArcCatalog then open ArcCatalog connect as "&lt;STRONG&gt;sde&lt;/STRONG&gt;" user and try to delete the version, open the "connections" tab and always make sure only the "&lt;STRONG&gt;sde&lt;/STRONG&gt;" user is connected to the geodatabase.&lt;BR /&gt;&lt;A href="https://desktop.arcgis.com/en/arcmap/latest/manage-data/gdbs-in-oracle/manage-geodatabase-locks.htm" target="_blank" rel="noopener"&gt;Manage geodatabase locks—ArcMap | Documentation (arcgis.com)&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;TIP - how to truncate the &lt;STRONG&gt;sde.gdb_locks&lt;/STRONG&gt; table manually&lt;/P&gt;&lt;P&gt;1. ask all users to close ArcMap/ArcCatalog&lt;/P&gt;&lt;P&gt;2. this disconnects all users connections&lt;/P&gt;&lt;P&gt;3. stop all ArcGIS Server Services&lt;/P&gt;&lt;P&gt;4. ArcCatalog connect as the "sde" user and check if all connections are closed, the SQL Server Administrator can also check this in SQL Server Management Studio (SSMS).&lt;/P&gt;&lt;P&gt;5. close ArcCatalog&lt;/P&gt;&lt;P&gt;6. In SQL Server Management Studio (SSMS) truncate the &lt;STRONG&gt;sde.gdb_locks&lt;/STRONG&gt; table.&lt;/P&gt;&lt;P&gt;use &amp;lt;database_name&amp;gt;&lt;/P&gt;&lt;P&gt;go&lt;/P&gt;&lt;P&gt;truncate table &lt;STRONG&gt;sde.gdb_locks&lt;/STRONG&gt;;&amp;nbsp;&lt;/P&gt;&lt;P&gt;go&lt;/P&gt;&lt;P&gt;7. this cleans all the locks&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;</description>
      <pubDate>Sun, 14 May 2023 20:54:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/lock-request-conflicts-with-an-established-lock/m-p/1288963#M8453</guid>
      <dc:creator>MarceloMarques</dc:creator>
      <dc:date>2023-05-14T20:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: lock request conflicts with an established lock [STATE_ID = 417401</title>
      <link>https://community.esri.com/t5/geodatabase-questions/lock-request-conflicts-with-an-established-lock/m-p/1289090#M8456</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/7474"&gt;@JoseSanchez&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In addition to the above suggestion we can run queries to check orphaned locks and delete them if necessary:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;select * from sde.SDE_table_locks &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;where sde_id not in (select sde_id from sde.SDE_process_information)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;order by sde_id &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;select * from sde.SDE_layer_locks &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;where sde_id not in (select sde_id from sde.SDE_process_information)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;order by sde_id &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;select * from sde.SDE_object_locks &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;where sde_id not in (select sde_id from sde.SDE_process_information)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;order by sde_id &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &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;select * from sde.SDE_state_locks &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;where sde_id not in (select sde_id from sde.SDE_process_information)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;order by sde_id&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2023 12:06:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/lock-request-conflicts-with-an-established-lock/m-p/1289090#M8456</guid>
      <dc:creator>RudraniChakraborty</dc:creator>
      <dc:date>2023-05-15T12:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: lock request conflicts with an established lock [STATE_ID = 417401</title>
      <link>https://community.esri.com/t5/geodatabase-questions/lock-request-conflicts-with-an-established-lock/m-p/1289163#M8457</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;Thank you&amp;nbsp;@MarceloMarques and&amp;nbsp;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/444887"&gt;@RudraniChakraborty&lt;/a&gt;,&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;We opened also a ticket with Esri to get their assistance.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Regards&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 15 May 2023 14:55:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/lock-request-conflicts-with-an-established-lock/m-p/1289163#M8457</guid>
      <dc:creator>JoseSanchez</dc:creator>
      <dc:date>2023-05-15T14:55:57Z</dc:date>
    </item>
  </channel>
</rss>

