<?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 FeatureClassToGeodatabase_conversion leaves mobile geodatabase locked files when executed from geoprocessing service in ArcGIS Server 11.1 in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/featureclasstogeodatabase-conversion-leaves-mobile/m-p/1285667#M67583</link>
    <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;we are using the tool&amp;nbsp;FeatureClassToGeodatabase_conversion to copy feature classes from a file geodatabase (extension .gdb) to a mobile geodatabase (extension .geodatabase).&lt;/P&gt;&lt;P&gt;Everything is working fine when executing it from ArcGIS Pro as standalone python script.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We decided to publish it in our ArcGIS Server 10.9.1 as a service and call the geoprocessing service. Everything was working, until we upgraded ArcGIS Server to 11.1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;After the upgrade, the service is successfully executed but the &lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/manage-mobile-gdb/mobile-geodatabase-and-locking.htm" target="_self"&gt;temporary files&lt;/A&gt; of the SQLite are still there. We have to stop the service to remove the lock files and "commit" the changes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is: with the version 11.1, do we need to do something extra to "commit" the changes? or remove the locks somehow? We have tried&lt;/P&gt;&lt;P&gt;arcpy.management.ClearWorkspaceCache&lt;/P&gt;&lt;P&gt;with no success.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any feedback will be very helpful!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 04 May 2023 14:30:50 GMT</pubDate>
    <dc:creator>MichailMarinakis1</dc:creator>
    <dc:date>2023-05-04T14:30:50Z</dc:date>
    <item>
      <title>FeatureClassToGeodatabase_conversion leaves mobile geodatabase locked files when executed from geoprocessing service in ArcGIS Server 11.1</title>
      <link>https://community.esri.com/t5/python-questions/featureclasstogeodatabase-conversion-leaves-mobile/m-p/1285667#M67583</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;we are using the tool&amp;nbsp;FeatureClassToGeodatabase_conversion to copy feature classes from a file geodatabase (extension .gdb) to a mobile geodatabase (extension .geodatabase).&lt;/P&gt;&lt;P&gt;Everything is working fine when executing it from ArcGIS Pro as standalone python script.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We decided to publish it in our ArcGIS Server 10.9.1 as a service and call the geoprocessing service. Everything was working, until we upgraded ArcGIS Server to 11.1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;After the upgrade, the service is successfully executed but the &lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/manage-mobile-gdb/mobile-geodatabase-and-locking.htm" target="_self"&gt;temporary files&lt;/A&gt; of the SQLite are still there. We have to stop the service to remove the lock files and "commit" the changes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is: with the version 11.1, do we need to do something extra to "commit" the changes? or remove the locks somehow? We have tried&lt;/P&gt;&lt;P&gt;arcpy.management.ClearWorkspaceCache&lt;/P&gt;&lt;P&gt;with no success.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any feedback will be very helpful!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2023 14:30:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/featureclasstogeodatabase-conversion-leaves-mobile/m-p/1285667#M67583</guid>
      <dc:creator>MichailMarinakis1</dc:creator>
      <dc:date>2023-05-04T14:30:50Z</dc:date>
    </item>
  </channel>
</rss>

