<?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: Cannot Delete a version - Error 000386 Locked by database user in ArcGIS Parcel Fabric Questions</title>
    <link>https://community.esri.com/t5/arcgis-parcel-fabric-questions/cannot-delete-a-version-error-000386-locked-by/m-p/1147749#M593</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;You can manually inspect and delete connections and locks from the sde geodatabase connection.&amp;nbsp; Right click the .sde connection file and choose Properties&amp;nbsp; &amp;gt; Connections then click the "Show connected users and locks" button.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KenGalliher1_0-1645738801898.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/34929iDB49910F25145C82/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KenGalliher1_0-1645738801898.png" alt="KenGalliher1_0-1645738801898.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This will open up the connections and locks dialog.&amp;nbsp; Choose the Locks tab and locate the lock(s) of the problem version.&amp;nbsp; Select the locks you wish to remove, right click the selection and choose Disconnect&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KenGalliher1_1-1645738962905.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/34930iB72A2A74A3B2D922/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KenGalliher1_1-1645738962905.png" alt="KenGalliher1_1-1645738962905.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another possible option is to purge the locks using the REST endpoint.&amp;nbsp; Go to the service's VersionManagementServer endpoint and open the purgeLocks page.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please see the documentation for purgeLock before proceeding:&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/purge-lock.htm" target="_blank"&gt;Purge Lock—ArcGIS REST APIs | ArcGIS Developers&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;BR /&gt;&lt;A href="https://server.domain.com/server/rest/services/MyParcelFabric/VersionManagementServer/purgeLock" target="_blank"&gt;https://server.domain.com/server/rest/services/MyParcelFabric/VersionManagementServer/purgeLock&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Enter the name of the version as owner.version_name and click purgeLock(POST)&lt;/P&gt;</description>
    <pubDate>Thu, 24 Feb 2022 21:49:06 GMT</pubDate>
    <dc:creator>KenGalliher1</dc:creator>
    <dc:date>2022-02-24T21:49:06Z</dc:date>
    <item>
      <title>Cannot Delete a version - Error 000386 Locked by database user</title>
      <link>https://community.esri.com/t5/arcgis-parcel-fabric-questions/cannot-delete-a-version-error-000386-locked-by/m-p/1147732#M592</link>
      <description>&lt;P&gt;We are up and running with a production parcel fabric and have set up a team of 3 users with child versions from default.&lt;/P&gt;&lt;P&gt;We've been encountering issues with one of the users in particular. When he attempts to validate topology he gets an error message that the version is currently in use.&amp;nbsp; We couldn't figure out a way to get past that issue so we had the user create a new version from default and then try again. He was able to do it once but he ultimately ended up seeing the same message.&lt;/P&gt;&lt;P&gt;He's created a third version and is able to post/reconcile.&lt;/P&gt;&lt;P&gt;When attempting to remove the two previous versions I'm getting this error.&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/tool-errors-and-warnings/001001-010000/tool-errors-and-warnings-00376-00400-000386.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/tool-reference/tool-errors-and-warnings/001001-010000/tool-errors-and-warnings-00376-00400-000386.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Where can I go to kill any connections that might be preventing the version from being removed?&lt;/P&gt;&lt;P&gt;The user rebooted both PCs he had been working on that might have had locks but i still cant remove the versions.&lt;/P&gt;&lt;P&gt;ArcGIS Pro 2.6.8 (latest service pack)&lt;/P&gt;&lt;P&gt;ArcGIS Enterprise 10.8.1&lt;/P&gt;&lt;P&gt;Parcel Fabric 3&lt;/P&gt;&lt;P&gt;SQL Server&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 21:19:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-parcel-fabric-questions/cannot-delete-a-version-error-000386-locked-by/m-p/1147732#M592</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2022-02-24T21:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Delete a version - Error 000386 Locked by database user</title>
      <link>https://community.esri.com/t5/arcgis-parcel-fabric-questions/cannot-delete-a-version-error-000386-locked-by/m-p/1147749#M593</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;You can manually inspect and delete connections and locks from the sde geodatabase connection.&amp;nbsp; Right click the .sde connection file and choose Properties&amp;nbsp; &amp;gt; Connections then click the "Show connected users and locks" button.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KenGalliher1_0-1645738801898.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/34929iDB49910F25145C82/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KenGalliher1_0-1645738801898.png" alt="KenGalliher1_0-1645738801898.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This will open up the connections and locks dialog.&amp;nbsp; Choose the Locks tab and locate the lock(s) of the problem version.&amp;nbsp; Select the locks you wish to remove, right click the selection and choose Disconnect&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KenGalliher1_1-1645738962905.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/34930iB72A2A74A3B2D922/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KenGalliher1_1-1645738962905.png" alt="KenGalliher1_1-1645738962905.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another possible option is to purge the locks using the REST endpoint.&amp;nbsp; Go to the service's VersionManagementServer endpoint and open the purgeLocks page.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please see the documentation for purgeLock before proceeding:&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/purge-lock.htm" target="_blank"&gt;Purge Lock—ArcGIS REST APIs | ArcGIS Developers&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;BR /&gt;&lt;A href="https://server.domain.com/server/rest/services/MyParcelFabric/VersionManagementServer/purgeLock" target="_blank"&gt;https://server.domain.com/server/rest/services/MyParcelFabric/VersionManagementServer/purgeLock&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Enter the name of the version as owner.version_name and click purgeLock(POST)&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 21:49:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-parcel-fabric-questions/cannot-delete-a-version-error-000386-locked-by/m-p/1147749#M593</guid>
      <dc:creator>KenGalliher1</dc:creator>
      <dc:date>2022-02-24T21:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Delete a version - Error 000386 Locked by database user</title>
      <link>https://community.esri.com/t5/arcgis-parcel-fabric-questions/cannot-delete-a-version-error-000386-locked-by/m-p/1147893#M594</link>
      <description>&lt;P&gt;If the above doesn't work please contact technical support so they can have a closer look.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Feb 2022 08:44:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-parcel-fabric-questions/cannot-delete-a-version-error-000386-locked-by/m-p/1147893#M594</guid>
      <dc:creator>AmirBar-Maor</dc:creator>
      <dc:date>2022-02-25T08:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Delete a version - Error 000386 Locked by database user</title>
      <link>https://community.esri.com/t5/arcgis-parcel-fabric-questions/cannot-delete-a-version-error-000386-locked-by/m-p/1147985#M595</link>
      <description>&lt;P&gt;Thank you! That was exactly what I needed.&amp;nbsp; I was able to remove the locks and then could delete the version.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Feb 2022 14:11:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-parcel-fabric-questions/cannot-delete-a-version-error-000386-locked-by/m-p/1147985#M595</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2022-02-25T14:11:36Z</dc:date>
    </item>
  </channel>
</rss>

