<?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;Invalid XML. :&amp;quot; on OpenAsync in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/quot-invalid-xml-quot-on-openasync/m-p/655204#M8199</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds like there's an issue with the internal database schema. What version of the server did you use to generate the gdb with? Is it possible to share the gdb so I can poke inside and see what's going on?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Oct 2014 20:28:47 GMT</pubDate>
    <dc:creator>dotMorten_esri</dc:creator>
    <dc:date>2014-10-24T20:28:47Z</dc:date>
    <item>
      <title>"Invalid XML. :" on OpenAsync</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/quot-invalid-xml-quot-on-openasync/m-p/655203#M8198</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;I created a SQLite geodatabase using the GenerateGeodatabaseAsync method and it seemed to work as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A GDB was created and downloaded properly but when I try to open it I get: "Invalid XML. :"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The StackTrace is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&amp;nbsp;&amp;nbsp; at RuntimeCoreNet.Interop.HandleException(Boolean retVal)\r\n&amp;nbsp;&amp;nbsp; at RuntimeCoreNet.CoreFeatureCache..ctor(String databasePath)\r\n&amp;nbsp;&amp;nbsp; at Esri.ArcGISRuntime.Data.Geodatabase..ctor(String path)\r\n&amp;nbsp;&amp;nbsp; at Esri.ArcGISRuntime.Data.Geodatabase.OpenAsync(String path)\r\n&amp;nbsp;&amp;nbsp; at TCT.Mims.Sync.Server.Runtime.IncrementalSync.&amp;lt;UpdateDatabase&amp;gt;d__27.MoveNext() in :::"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone seen that message before? The only reference I see Googling with Bing is the Esri page on Editing and Syncing &lt;A href="https://developers.arcgis.com/ios/objective-c/guide/feature-table-editing-and-sync-error-codes.htm" title="https://developers.arcgis.com/ios/objective-c/guide/feature-table-editing-and-sync-error-codes.htm"&gt;Feature table editing and sync error codes—ArcGIS Runtime SDK for iOS | ArcGIS for Developers&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without anything after the "Invalid XML. :" to indicate what XML (or table even if the XML is null) it's hard to track it down.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;John. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2014 19:16:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/quot-invalid-xml-quot-on-openasync/m-p/655203#M8198</guid>
      <dc:creator>JohnSelkirk</dc:creator>
      <dc:date>2014-10-24T19:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: "Invalid XML. :" on OpenAsync</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/quot-invalid-xml-quot-on-openasync/m-p/655204#M8199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds like there's an issue with the internal database schema. What version of the server did you use to generate the gdb with? Is it possible to share the gdb so I can poke inside and see what's going on?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2014 20:28:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/quot-invalid-xml-quot-on-openasync/m-p/655204#M8199</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2014-10-24T20:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: "Invalid XML. :" on OpenAsync</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/quot-invalid-xml-quot-on-openasync/m-p/655205#M8200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Morten,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Server version is 10.2.2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Esri.ArcGISRuntime.dll is 10.2.4.748&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The DB zipped is 11MB so if you have somewhere I can post it then it would be great if you could take a look,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2014 13:59:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/quot-invalid-xml-quot-on-openasync/m-p/655205#M8200</guid>
      <dc:creator>JohnSelkirk</dc:creator>
      <dc:date>2014-10-27T13:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: "Invalid XML. :" on OpenAsync</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/quot-invalid-xml-quot-on-openasync/m-p/655206#M8201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem in this case was a field (Enabled) in that was required due to it being involved in a SubType but was not a visible field. This meant it was not part of the generated Geodatabase. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for figuring it out Morten.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 16:11:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/quot-invalid-xml-quot-on-openasync/m-p/655206#M8201</guid>
      <dc:creator>JohnSelkirk</dc:creator>
      <dc:date>2014-11-19T16:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: "Invalid XML. :" on OpenAsync</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/quot-invalid-xml-quot-on-openasync/m-p/655207#M8202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know if this is the correct forum to post this and if it's not then just point me in the right direction...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There seems to be multiple instances where you get an Invalid XML message. The ones that I have found so far are:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Sub-type requires a field that is not in the Geodatabase as it was set to not visible in the map layer &lt;/LI&gt;&lt;LI&gt;Feature Class has a relationship to a table but the table is not in the Geodatabase. The service can be published (Analyze gives a Medium? warning) but you cannot open the generated GDB. &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are more occasions when this happens though. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Removed the Geometric Networks and relationships from the ArcSDE database&lt;/LI&gt;&lt;LI&gt;Made sure that all of the FCs has a GlobalID set&lt;/LI&gt;&lt;LI&gt;Created a brand new MXD and added ALL layers and tables (so all fields are visible and nothing, that I know of, is missing)&lt;/LI&gt;&lt;LI&gt;Published the feature service and generated a SQLite geodatabase from it&lt;/LI&gt;&lt;LI&gt;Still get a Invalid XML&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there additional Runtime logging that can be turned on to see what is going on? It would be nice to have a more detailed explanation of what is going on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If have 2 SQLite GDBs if anyone wants to look at them. One is with a simplified ArcSDE schema (no geom network and no rels) and the other is the actual schema we are trying to use (ArcSDE contains multiple geometric networks and relationships). Both fail to open with thee Invalid XML error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 16:41:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/quot-invalid-xml-quot-on-openasync/m-p/655207#M8202</guid>
      <dc:creator>JohnSelkirk</dc:creator>
      <dc:date>2014-11-19T16:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: "Invalid XML. :" on OpenAsync</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/quot-invalid-xml-quot-on-openasync/m-p/655208#M8203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for following-up here.&amp;nbsp; I'm experiencing similar issues, and without more-verbose messages, it's tedious to track down what is wrong.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 16:00:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/quot-invalid-xml-quot-on-openasync/m-p/655208#M8203</guid>
      <dc:creator>MattDenton</dc:creator>
      <dc:date>2015-01-29T16:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: "Invalid XML. :" on OpenAsync</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/quot-invalid-xml-quot-on-openasync/m-p/655209#M8204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having this issue as well.&amp;nbsp; After waiting with bated breath for the related table support in iOS Collector 10.3, it is deployed, but I'm getting the failed to download/invalid xml error, so we can't use it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked the suggestions presented above (thank you!) and still am left with no resolution.&amp;nbsp; ArcGIS Server 10.3, iOS Collector 10.3, iOS 8.2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 16:34:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/quot-invalid-xml-quot-on-openasync/m-p/655209#M8204</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2015-03-18T16:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: "Invalid XML. :" on OpenAsync</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/quot-invalid-xml-quot-on-openasync/m-p/655210#M8205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After trying a few different things, it appears that my solution was to make sure ALL fields are toggled on in the service, even if those fields are not subtypes and do not participate in the relationships. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 20:23:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/quot-invalid-xml-quot-on-openasync/m-p/655210#M8205</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2015-03-18T20:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: "Invalid XML. :" on OpenAsync</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/quot-invalid-xml-quot-on-openasync/m-p/655211#M8206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm getting the same "Invalid XML" error message and I've tried all but one thing to get it resolved: Setting the Global ID as the Primary Key on all of the relationship classes as suggested in the &lt;A href="http://server.arcgis.com/en/server/latest/publish-services/windows/prepare-data-for-offline-use.htm"&gt;Prepare Data For Offline Use documentation&lt;/A&gt;.&amp;nbsp; I hesitate to do it because this is our client's database and it works for them on their collection devices.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd really like to see this issue resolved going forward or make it well-known that if you ever intend on using the Collector app to capture data offline, that Global IDs are &lt;EM&gt;the only &lt;/EM&gt;way to establish relationship classes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added a proposal on the Ideas page to prompt the addition of Global IDs before using Create Attachments (&lt;SPAN style="color: #111111; text-align: center;"&gt;&lt;A href="https://c.na9.visual.force.com/apex/ideaView?id=087E0000000fxYx&amp;amp;returnUrl=%2Fapex%2FideaList%3Fc%3D09a300000004xET%26sort%3Drecent"&gt;Create Attachments - Prompt for Global IDs&lt;/A&gt;).&amp;nbsp; That might alleviate some of the issues.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 18:24:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/quot-invalid-xml-quot-on-openasync/m-p/655211#M8206</guid>
      <dc:creator>JasonBalmut</dc:creator>
      <dc:date>2015-09-22T18:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: "Invalid XML. :" on OpenAsync</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/quot-invalid-xml-quot-on-openasync/m-p/655212#M8207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To add to the list of potential offenders:&lt;/P&gt;&lt;P&gt;I also ran into this exception earlier this week. In my case, the problem was a coded value domain in the database that did not have any values defined. The empty domain didn't cause issues in ArcMap, but the runtime was unable to load any of the tables. Once values were added to the domain, ArcGIS Runtime was happy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2015 16:42:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/quot-invalid-xml-quot-on-openasync/m-p/655212#M8207</guid>
      <dc:creator>ThadTilton</dc:creator>
      <dc:date>2015-09-25T16:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: "Invalid XML. :" on OpenAsync</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/quot-invalid-xml-quot-on-openasync/m-p/655213#M8208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had trouble with this too. I had a couple of fields in the mxd that I had toggled off. They had no part in the relationships or subtype. When I toggled them back on and re-exported, all was well. I'm using 10.3 and IOS. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 01:19:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/quot-invalid-xml-quot-on-openasync/m-p/655213#M8208</guid>
      <dc:creator>JeriLedbetter</dc:creator>
      <dc:date>2016-04-26T01:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: "Invalid XML. :" on OpenAsync</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/quot-invalid-xml-quot-on-openasync/m-p/655214#M8209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have spent a good time on&amp;nbsp;this same issue for a different customer that is running a version of our product that uses 10.2.7. We have tried all of the steps we know and still get this error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interestingly I tried this in a v100.1 version&amp;nbsp;our software and the error does not happen. The client&amp;nbsp;is not able to upgrade until March next year (budget cycle) but it would really useful to know what the schema issue is so that we can work around it&amp;nbsp;for now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a schema only version of the SQLite geodatabase that I can provide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help you can provide!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2017 14:38:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/quot-invalid-xml-quot-on-openasync/m-p/655214#M8209</guid>
      <dc:creator>JohnSelkirk</dc:creator>
      <dc:date>2017-10-30T14:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: "Invalid XML. :" on OpenAsync</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/quot-invalid-xml-quot-on-openasync/m-p/655215#M8210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Summarizing the&amp;nbsp;issues we saw could cause this in 10.2.7:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Sub-type requires a field that is not in the Geodatabase because it was not visible in the map layer.&lt;BR /&gt;- Feature Class has a relationship to a table that is not in the Geodatabase.&amp;nbsp;&lt;BR /&gt;- Global ID is not Primary Key on all of the relationship classes.&lt;/P&gt;&lt;P&gt;- Empty Coded Value Domain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any of those applicable?&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>Mon, 30 Oct 2017 23:32:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/quot-invalid-xml-quot-on-openasync/m-p/655215#M8210</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2017-10-30T23:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: "Invalid XML. :" on OpenAsync</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/quot-invalid-xml-quot-on-openasync/m-p/655216#M8211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mike,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That&amp;nbsp;helped (empty coded vale domain especially).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have found that v100.1/2 has had some really good improvements when it comes to Invalid XML. There seems to&amp;nbsp;have been a good amount of work in that area. Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2018 14:23:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/quot-invalid-xml-quot-on-openasync/m-p/655216#M8211</guid>
      <dc:creator>JohnSelkirk</dc:creator>
      <dc:date>2018-01-22T14:23:33Z</dc:date>
    </item>
  </channel>
</rss>

