<?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: Exception while loading ServiceFeatureTable in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/exception-while-loading-servicefeaturetable/m-p/282453#M3313</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like the error info is obscuring some of the relevant code in your screenshot.&amp;nbsp; Could you share that snippet?&amp;nbsp; I'm wondering if it's anything to do with how you're going about loading the data from the service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, is this data-specific?&amp;nbsp; That is, does the same code work for other services but not this particular one?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jul 2018 13:09:40 GMT</pubDate>
    <dc:creator>RichZwaap</dc:creator>
    <dc:date>2018-07-19T13:09:40Z</dc:date>
    <item>
      <title>Exception while loading ServiceFeatureTable</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/exception-while-loading-servicefeaturetable/m-p/282452#M3312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At 100.3 I'm getting a &lt;EM&gt;The item to be created already exists in the database&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;exception when calling LoadAsync() on a service feature table for some sublayers in a specific on-premise 10.5.1 cached map service.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the complete exception string and&amp;nbsp;I've attached a screen grab of inspecting the exception&amp;nbsp;in debug mode.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;Esri.ArcGISRuntime.ArcGISRuntimeException: The item to be created already exists in the database.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; at System.Runtime.CompilerServices.TaskAwaiter.GetResult()&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; at MapWorks.LayerSelection.SelectableItem.&amp;lt;PrepareForUse&amp;gt;d__31.MoveNext() in C:\Users\csmike\Documents\GitHub\MapWorks\MapWorks\LayerSelection.xaml.cs:line 931&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;This behavior is an improvement over 100.2.x which&amp;nbsp;cratered at the same location despite being wrapped in a try/catch, but I don't have any idea why this is happening or what I can do to mitigate.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for any suggestions.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2018 16:33:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/exception-while-loading-servicefeaturetable/m-p/282452#M3312</guid>
      <dc:creator>Mike_Quetel</dc:creator>
      <dc:date>2018-07-12T16:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: Exception while loading ServiceFeatureTable</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/exception-while-loading-servicefeaturetable/m-p/282453#M3313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like the error info is obscuring some of the relevant code in your screenshot.&amp;nbsp; Could you share that snippet?&amp;nbsp; I'm wondering if it's anything to do with how you're going about loading the data from the service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, is this data-specific?&amp;nbsp; That is, does the same code work for other services but not this particular one?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2018 13:09:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/exception-while-loading-servicefeaturetable/m-p/282453#M3313</guid>
      <dc:creator>RichZwaap</dc:creator>
      <dc:date>2018-07-19T13:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Exception while loading ServiceFeatureTable</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/exception-while-loading-servicefeaturetable/m-p/282454#M3314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich,&amp;nbsp; Thanks for replying. There is a tech support case&amp;nbsp;&lt;SPAN style="font-size: 11.0pt;"&gt;#02134931 which has quite a bit of info, sample code and sample data.&amp;nbsp; There was also a bug (&lt;STRONG style="font-size: 9.0pt;"&gt;BUG-000115405)&amp;nbsp;&lt;/STRONG&gt;logged against the issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2018 14:08:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/exception-while-loading-servicefeaturetable/m-p/282454#M3314</guid>
      <dc:creator>Mike_Quetel</dc:creator>
      <dc:date>2018-07-19T14:08:57Z</dc:date>
    </item>
  </channel>
</rss>

