<?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: How to delete offline geodatabase replica file? in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-delete-offline-geodatabase-replica-file/m-p/177929#M2063</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, but the problem is that the once I open the geodatabase file, it stays open until the application is closed, so it cannot be deleted be any means ("The file is being used by another process").&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Mar 2015 06:07:16 GMT</pubDate>
    <dc:creator>JuhoVainio</dc:creator>
    <dc:date>2015-03-31T06:07:16Z</dc:date>
    <item>
      <title>How to delete offline geodatabase replica file?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-delete-offline-geodatabase-replica-file/m-p/177927#M2061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I unregister the replica with &lt;SPAN style="font-family: courier new,courier;"&gt;GeodatabaseSyncTask&lt;/SPAN&gt;, then how do I delete the actual geodatabase file? The problem is that if I open the geodatabase, the file stays open until I open another geodatabase (even closing the application doesn't remove the lock).&lt;/P&gt;&lt;P&gt;There is no Close method for closing the geodatabase explicitly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 10:03:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-delete-offline-geodatabase-replica-file/m-p/177927#M2061</guid>
      <dc:creator>JuhoVainio</dc:creator>
      <dc:date>2015-03-30T10:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete offline geodatabase replica file?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-delete-offline-geodatabase-replica-file/m-p/177928#M2062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You won't find a delete method in the Geodatabase class itself, but instead will want to use File.Delete from System.IO and do it manually.&amp;nbsp; This mirrors how the file is created when you download the geodatabase from the server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 18:08:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-delete-offline-geodatabase-replica-file/m-p/177928#M2062</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2015-03-30T18:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete offline geodatabase replica file?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-delete-offline-geodatabase-replica-file/m-p/177929#M2063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, but the problem is that the once I open the geodatabase file, it stays open until the application is closed, so it cannot be deleted be any means ("The file is being used by another process").&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 06:07:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-delete-offline-geodatabase-replica-file/m-p/177929#M2063</guid>
      <dc:creator>JuhoVainio</dc:creator>
      <dc:date>2015-03-31T06:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete offline geodatabase replica file?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-delete-offline-geodatabase-replica-file/m-p/177930#M2064</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;Unfortunately this is a known issue which is under investigation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 10:53:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-delete-offline-geodatabase-replica-file/m-p/177930#M2064</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2015-03-31T10:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete offline geodatabase replica file?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-delete-offline-geodatabase-replica-file/m-p/177931#M2065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe as a workaround you could restart the application and delete the file at startup before you would reopen the application.&amp;nbsp; Probably not the greatest way to handle it, but it might could get you down the road.&amp;nbsp; Here is a link on how to restart a .NET application (&lt;A href="https://msdn.microsoft.com/en-us/library/system.windows.forms.application.restart%28v=vs.110%29.aspx" title="https://msdn.microsoft.com/en-us/library/system.windows.forms.application.restart%28v=vs.110%29.aspx"&gt;Application.Restart Method (System.Windows.Forms)&lt;/A&gt; ).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 12:05:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-delete-offline-geodatabase-replica-file/m-p/177931#M2065</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2015-03-31T12:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete offline geodatabase replica file?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-delete-offline-geodatabase-replica-file/m-p/177932#M2066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, that's a possibility, but in my case the deletion of the geodatabase depends on the data within the database, so I need to open the db to check if the file is eligible for deletion. Of course I could to this in two phases, first phase being the check to save the filenames pending for deletion and so on...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks anyway for the response.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 12:09:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-delete-offline-geodatabase-replica-file/m-p/177932#M2066</guid>
      <dc:creator>JuhoVainio</dc:creator>
      <dc:date>2015-03-31T12:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete offline geodatabase replica file?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-delete-offline-geodatabase-replica-file/m-p/177933#M2067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you provide us the bug number for this. I can't find relevant bugs in the system. with the keywords within this discussion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Heikki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2015 12:19:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-delete-offline-geodatabase-replica-file/m-p/177933#M2067</guid>
      <dc:creator>HeikkiNiemisara</dc:creator>
      <dc:date>2015-09-04T12:19:20Z</dc:date>
    </item>
  </channel>
</rss>

