<?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 GetFeatureCountRequest instantly timing out to return -1 in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/getfeaturecountrequest-instantly-timing-out-to/m-p/670571#M17992</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am having an issue when attempting to pull data from our map service in 9.3.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use the MobileService.GetFeatureCountAsync to determine how many features in a certain layer need to be pulled into a mobile cache.&amp;nbsp; This call has started returning -1 with a timeout error.&amp;nbsp; I can find no indication on what might cause this.&amp;nbsp; The first time I run the call it seems to work perfectly but randomly it will just return -1's with the timeout error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Similarly when using the MobileService.GetDataAsync call with a group of layers I encounter a timeout issue on a particularly big layer.&amp;nbsp; This wouldn't be surprising except for the fact that the timeout occurs almost instantly.&amp;nbsp; I also worked on a piece to divide the geometry when a timeout occurs to provide a smaller extent to pull data into.&amp;nbsp; This recursive call get called indefinately, with timeouts on each call, until the divided extent is too small to run an intersect query on.&amp;nbsp; At this point the app crashes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have been trying to solve this issue for some time and can come up with nothing.&amp;nbsp; If anyone has any ideas as to why the GetFeatureCountAsync and GetDataAsync calls would consistently have near instant timeout exceptions it would help me out a lot.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Dec 2010 20:26:01 GMT</pubDate>
    <dc:creator>DavidNixon1</dc:creator>
    <dc:date>2010-12-03T20:26:01Z</dc:date>
    <item>
      <title>GetFeatureCountRequest instantly timing out to return -1</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/getfeaturecountrequest-instantly-timing-out-to/m-p/670571#M17992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am having an issue when attempting to pull data from our map service in 9.3.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use the MobileService.GetFeatureCountAsync to determine how many features in a certain layer need to be pulled into a mobile cache.&amp;nbsp; This call has started returning -1 with a timeout error.&amp;nbsp; I can find no indication on what might cause this.&amp;nbsp; The first time I run the call it seems to work perfectly but randomly it will just return -1's with the timeout error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Similarly when using the MobileService.GetDataAsync call with a group of layers I encounter a timeout issue on a particularly big layer.&amp;nbsp; This wouldn't be surprising except for the fact that the timeout occurs almost instantly.&amp;nbsp; I also worked on a piece to divide the geometry when a timeout occurs to provide a smaller extent to pull data into.&amp;nbsp; This recursive call get called indefinately, with timeouts on each call, until the divided extent is too small to run an intersect query on.&amp;nbsp; At this point the app crashes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have been trying to solve this issue for some time and can come up with nothing.&amp;nbsp; If anyone has any ideas as to why the GetFeatureCountAsync and GetDataAsync calls would consistently have near instant timeout exceptions it would help me out a lot.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Dec 2010 20:26:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/getfeaturecountrequest-instantly-timing-out-to/m-p/670571#M17992</guid>
      <dc:creator>DavidNixon1</dc:creator>
      <dc:date>2010-12-03T20:26:01Z</dc:date>
    </item>
  </channel>
</rss>

