<?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: Removing Lock on Feature Dataset within FGDB in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/removing-lock-on-feature-dataset-within-fgdb/m-p/1049678#M7152</link>
    <description>&lt;P&gt;Running the code in the Python (aaaaahhh, about to butcher the terminology!) &lt;EM&gt;Console (Window?)&lt;/EM&gt; directly in ArcMap.&amp;nbsp; After this mxd project I'm moving to Pro.&amp;nbsp; I think turning on and off is honestly my quickest solution.&amp;nbsp; Other solutions I've found are more time-consuming than on/off.&amp;nbsp; File Geotabase Compacting seems to be an option - which I really need to do anyways.&amp;nbsp; Seems going into File Explorer and deleting locks within the gdb folder is more risk than it's worth.&amp;nbsp; For shapefiles I don't care.&amp;nbsp; Well, thanks Dan.&lt;/P&gt;</description>
    <pubDate>Wed, 21 Apr 2021 16:55:34 GMT</pubDate>
    <dc:creator>ZacharyUhlmann1</dc:creator>
    <dc:date>2021-04-21T16:55:34Z</dc:date>
    <item>
      <title>Removing Lock on Feature Dataset within FGDB</title>
      <link>https://community.esri.com/t5/geodatabase-questions/removing-lock-on-feature-dataset-within-fgdb/m-p/1049577#M7148</link>
      <description>&lt;P&gt;Hi.&amp;nbsp; Finally fed up with turning on and off again.&amp;nbsp; It's ArcMap, but I imagine the same issues arise in ArcPro.&amp;nbsp; Simply starting an edit session to edit some feature classes within a file geodatabase and every feature class in my Table of Contents within a particular FGDB is 'Not Editable'.&amp;nbsp; In this instance, I had just performed a Union using arcpy (arcpy.Union_analysis(...)) on feature classes within the now locked feature dataset and the output also was sent there.&amp;nbsp; I realize this is a basic question, but I cannot find decent information on StackExchange or elsewhere.&amp;nbsp; The classic ESRI monopolization of Google searches where every Google search result is a general ESRI information page on schema locks but no solutions.&amp;nbsp; So yes, how do I remove unnecessary locks that ArcMap failed to remove after geoprocessing?&amp;nbsp; Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 14:37:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/removing-lock-on-feature-dataset-within-fgdb/m-p/1049577#M7148</guid>
      <dc:creator>ZacharyUhlmann1</dc:creator>
      <dc:date>2021-04-21T14:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: Removing Lock on Feature Dataset within FGDB</title>
      <link>https://community.esri.com/t5/geodatabase-questions/removing-lock-on-feature-dataset-within-fgdb/m-p/1049595#M7149</link>
      <description>&lt;P&gt;If there is a lock, then there is a reason (being used by something else for instance).&lt;/P&gt;&lt;P&gt;Try copying the featureclass to a new file geodatabase and see if the result has a lock&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 15:02:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/removing-lock-on-feature-dataset-within-fgdb/m-p/1049595#M7149</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-04-21T15:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Removing Lock on Feature Dataset within FGDB</title>
      <link>https://community.esri.com/t5/geodatabase-questions/removing-lock-on-feature-dataset-within-fgdb/m-p/1049609#M7150</link>
      <description>&lt;P&gt;Hi Dan.&amp;nbsp; I'm the only one accessing the FGDB - it's definitely occurring RIGHT after performing some geoprocessing task.&amp;nbsp; I call&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;arcpy.Union_analysis(['feature_1', 'feature_2'], 'path/to/gdb/soon_to_be_locked_dataset/feat1_feat2_union')&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The tool runs, out comes feat1_feat2_union.&amp;nbsp; At which point I want to inspect and delete one or two of the features.&amp;nbsp; So I drop down Editor --&amp;gt; Start Editing --&amp;gt; feat1_feat2_union and ALL feature classes within the soon_to_be_locked_dataset present in my Table of Contents are locked ("This data is not editable"), but NOT feature classes within the gdb residing outside of the soon_to_be_locked_dataset.&amp;nbsp; So I "turn off and turn on again".&amp;nbsp; Actually just open a new blank map to remove lock, then reopen the map I was working on.&amp;nbsp; Lock disappears.&amp;nbsp; I've tried refreshing the gdb (F5) to no avail.&amp;nbsp; &amp;nbsp;&amp;nbsp; ArcMap 10.6.1.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 15:27:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/removing-lock-on-feature-dataset-within-fgdb/m-p/1049609#M7150</guid>
      <dc:creator>ZacharyUhlmann1</dc:creator>
      <dc:date>2021-04-21T15:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Removing Lock on Feature Dataset within FGDB</title>
      <link>https://community.esri.com/t5/geodatabase-questions/removing-lock-on-feature-dataset-within-fgdb/m-p/1049619#M7151</link>
      <description>&lt;P&gt;Where are you running the code?&amp;nbsp; In a separate IDE? it may be persisting the lock if it is still open.&lt;/P&gt;&lt;P&gt;ArcGIS Pro's python window and or their Jupyter Notebooks or a separate IDE (Spyder in my case) doesn't seem to have these issues.&lt;/P&gt;&lt;P&gt;That leave ArcMap's handling of locks.&amp;nbsp; Trying the same process in Pro would resolve whether that is the case.&lt;/P&gt;&lt;P&gt;Sorry... Tech Support probably has more insight.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 15:38:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/removing-lock-on-feature-dataset-within-fgdb/m-p/1049619#M7151</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-04-21T15:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: Removing Lock on Feature Dataset within FGDB</title>
      <link>https://community.esri.com/t5/geodatabase-questions/removing-lock-on-feature-dataset-within-fgdb/m-p/1049678#M7152</link>
      <description>&lt;P&gt;Running the code in the Python (aaaaahhh, about to butcher the terminology!) &lt;EM&gt;Console (Window?)&lt;/EM&gt; directly in ArcMap.&amp;nbsp; After this mxd project I'm moving to Pro.&amp;nbsp; I think turning on and off is honestly my quickest solution.&amp;nbsp; Other solutions I've found are more time-consuming than on/off.&amp;nbsp; File Geotabase Compacting seems to be an option - which I really need to do anyways.&amp;nbsp; Seems going into File Explorer and deleting locks within the gdb folder is more risk than it's worth.&amp;nbsp; For shapefiles I don't care.&amp;nbsp; Well, thanks Dan.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 16:55:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/removing-lock-on-feature-dataset-within-fgdb/m-p/1049678#M7152</guid>
      <dc:creator>ZacharyUhlmann1</dc:creator>
      <dc:date>2021-04-21T16:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: Removing Lock on Feature Dataset within FGDB</title>
      <link>https://community.esri.com/t5/geodatabase-questions/removing-lock-on-feature-dataset-within-fgdb/m-p/1056055#M7169</link>
      <description>&lt;P&gt;As Dan said above, some other application could be causing the lock. &amp;nbsp;ArcCatalog often has to be closed to remove a lock on the fgdb. &amp;nbsp;If the fgdb is &amp;nbsp;on a network drive, &amp;nbsp;then backup software can put locks on the fgdb if your IT group are running backups during the day. &amp;nbsp;A new problem we have started encountering this past year is from orphan ArcMap.exe processes left running after exiting ArcMap. &amp;nbsp;To remove locks on the fgdb or other databases, we are often having to go into the Windows Task Manager to end these orphan ArcMap processes.&lt;/P&gt;</description>
      <pubDate>Sun, 09 May 2021 19:52:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/removing-lock-on-feature-dataset-within-fgdb/m-p/1056055#M7169</guid>
      <dc:creator>WilliamRice</dc:creator>
      <dc:date>2021-05-09T19:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Removing Lock on Feature Dataset within FGDB</title>
      <link>https://community.esri.com/t5/geodatabase-questions/removing-lock-on-feature-dataset-within-fgdb/m-p/1056873#M7176</link>
      <description>&lt;P&gt;Hi William.&amp;nbsp; Thanks for the response.&amp;nbsp; I'm slowly transitioning to Pro, and Dan indicated that ArcMap (as opposed to Pro and separate IDEs) is notorious for nefarious locks.&amp;nbsp; Once I'm working on a less consequential dataset I will attempt the File Explorer --&amp;gt; delete lock file route, but for now that scares me.&amp;nbsp; So I'll continue to open new map and reopen prior map without closing the program.&amp;nbsp; That DOES work, just seems silly.&amp;nbsp; Didn't realize the orphan ArcMap Processes situation - thanks for that tidbit!&amp;nbsp; I'll keep my eyes out for that...&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 20:24:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/removing-lock-on-feature-dataset-within-fgdb/m-p/1056873#M7176</guid>
      <dc:creator>ZacharyUhlmann1</dc:creator>
      <dc:date>2021-05-11T20:24:01Z</dc:date>
    </item>
  </channel>
</rss>

