<?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: &amp;quot;Attempt to write a readonly database&amp;quot; error on importDeltaWithGeodatabase:deltaPath:completion:() in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/quot-attempt-to-write-a-readonly-database-quot/m-p/1383184#M7734</link>
    <description>&lt;P&gt;Did you ever get a response to this issue?&lt;/P&gt;</description>
    <pubDate>Fri, 16 Feb 2024 00:14:08 GMT</pubDate>
    <dc:creator>ShaneDillon</dc:creator>
    <dc:date>2024-02-16T00:14:08Z</dc:date>
    <item>
      <title>"Attempt to write a readonly database" error on importDeltaWithGeodatabase:deltaPath:completion:()</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/quot-attempt-to-write-a-readonly-database-quot/m-p/728335#M6534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;iOS SDK version: 100.2.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="color: #000000; background-color: #ffffff;"&gt;We have a public-facing mobile app with ~40k users. It leverages the runtime geodatabase and imports delta files (sqlite) with the SDK importDeltaWithGeodatabase:deltaPath:completion:() method. This works great almost every time 95+%, but we've started seeing failures due to "Attempt to write a readonly database" error. We have not been able to reproduce it such that we can determine a cause. It would be great if the product team could weigh-in on what circumstances/logic/blocks in the SDK throw this error.&lt;/DIV&gt;&lt;DIV style="color: #000000; background-color: #ffffff;"&gt; &lt;/DIV&gt;&lt;DIV style="color: #000000; background-color: #ffffff;"&gt;We use a modified disconnected workflow, but:&lt;/DIV&gt;&lt;DIV style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp; &amp;nbsp; a) The mobile client never connects to the service, rather the client downloads a replica.geodatabase (mobile sqlite&amp;nbsp;replica) from AWS S3.&lt;/DIV&gt;&lt;DIV style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp; &amp;nbsp; b) All edits are one-way, server to client, via a delta.geodatabase (mobile sqlite delta file).&lt;/DIV&gt;&lt;DIV style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp; &amp;nbsp; c) Edits import just fine, 95+% of the time, and then they don't and we get that error.&lt;/DIV&gt;&lt;DIV style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp; &amp;nbsp; d) We never set the database to be read-only; nor would we want to, or even know how to.&lt;/DIV&gt;&lt;DIV style="color: #000000; background-color: #ffffff;"&gt; &lt;/DIV&gt;&lt;DIV style="color: #000000; background-color: #ffffff;"&gt;Given these factors, I need to know what other circumstances could cause the SDK to think the database is read-only.&lt;/DIV&gt;&lt;DIV style="color: #000000; background-color: #ffffff;"&gt; &lt;/DIV&gt;&lt;DIV style="color: #000000; background-color: #ffffff;"&gt;Cheers,&lt;/DIV&gt;&lt;DIV style="color: #000000; background-color: #ffffff;"&gt; &lt;/DIV&gt;&lt;DIV style="color: #000000; background-color: #ffffff;"&gt;Jake&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2018 16:49:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/quot-attempt-to-write-a-readonly-database-quot/m-p/728335#M6534</guid>
      <dc:creator>JakeShapley</dc:creator>
      <dc:date>2018-11-14T16:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: "Attempt to write a readonly database" error on importDeltaWithGeodatabase:deltaPath:completion:()</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/quot-attempt-to-write-a-readonly-database-quot/m-p/1383184#M7734</link>
      <description>&lt;P&gt;Did you ever get a response to this issue?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2024 00:14:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/quot-attempt-to-write-a-readonly-database-quot/m-p/1383184#M7734</guid>
      <dc:creator>ShaneDillon</dc:creator>
      <dc:date>2024-02-16T00:14:08Z</dc:date>
    </item>
  </channel>
</rss>

