<?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 ServiceFeatureTable.QueryFeatureCountAsync and ServiceFeatureTable.QueryFeaturesAsync fails. in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/servicefeaturetable-queryfeaturecountasync-and/m-p/1105053#M10509</link>
    <description>&lt;P&gt;I need to query features from&amp;nbsp;&lt;STRONG&gt;ArcGISMapImageSublayer&lt;/STRONG&gt;'s feature table. Sublayer originated from MPKX map package through &lt;STRONG&gt;MapLocalService&lt;/STRONG&gt;. Any attempt to call&amp;nbsp;&lt;STRONG&gt;QueryFeatureCountAsync&lt;/STRONG&gt; or&amp;nbsp;&lt;STRONG&gt;QueryFeaturesAsync&lt;/STRONG&gt;&amp;nbsp;fails with &lt;STRONG&gt;ArcGISWebException: resultRecordCount has to be positive &lt;/STRONG&gt;exception (see attached screenshot).&amp;nbsp;&lt;/P&gt;&lt;P&gt;No exception/error entries in local server log. No error dump. Call just fails with mentioned exception.&lt;/P&gt;&lt;P&gt;Layer properly visualized in MapView (WPF control hosed in WinForms UserControl).&lt;/P&gt;&lt;P&gt;Application: C#, .Net Framework 4.8, WinForms&lt;/P&gt;&lt;P&gt;ArcGisRuntime 100.12.0; ArcGisRuntime Local Services 100.12.0&lt;/P&gt;&lt;P&gt;Any suggestions what may lead to such behavior?&lt;/P&gt;</description>
    <pubDate>Wed, 06 Oct 2021 03:13:52 GMT</pubDate>
    <dc:creator>AndreySmolyaninov</dc:creator>
    <dc:date>2021-10-06T03:13:52Z</dc:date>
    <item>
      <title>ServiceFeatureTable.QueryFeatureCountAsync and ServiceFeatureTable.QueryFeaturesAsync fails.</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/servicefeaturetable-queryfeaturecountasync-and/m-p/1105053#M10509</link>
      <description>&lt;P&gt;I need to query features from&amp;nbsp;&lt;STRONG&gt;ArcGISMapImageSublayer&lt;/STRONG&gt;'s feature table. Sublayer originated from MPKX map package through &lt;STRONG&gt;MapLocalService&lt;/STRONG&gt;. Any attempt to call&amp;nbsp;&lt;STRONG&gt;QueryFeatureCountAsync&lt;/STRONG&gt; or&amp;nbsp;&lt;STRONG&gt;QueryFeaturesAsync&lt;/STRONG&gt;&amp;nbsp;fails with &lt;STRONG&gt;ArcGISWebException: resultRecordCount has to be positive &lt;/STRONG&gt;exception (see attached screenshot).&amp;nbsp;&lt;/P&gt;&lt;P&gt;No exception/error entries in local server log. No error dump. Call just fails with mentioned exception.&lt;/P&gt;&lt;P&gt;Layer properly visualized in MapView (WPF control hosed in WinForms UserControl).&lt;/P&gt;&lt;P&gt;Application: C#, .Net Framework 4.8, WinForms&lt;/P&gt;&lt;P&gt;ArcGisRuntime 100.12.0; ArcGisRuntime Local Services 100.12.0&lt;/P&gt;&lt;P&gt;Any suggestions what may lead to such behavior?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Oct 2021 03:13:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/servicefeaturetable-queryfeaturecountasync-and/m-p/1105053#M10509</guid>
      <dc:creator>AndreySmolyaninov</dc:creator>
      <dc:date>2021-10-06T03:13:52Z</dc:date>
    </item>
  </channel>
</rss>

