<?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: IFeatureClass.Search hangs indefinitely in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/ifeatureclass-search-hangs-indefinitely/m-p/66806#M1785</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What you don't mention is what the query filter looks like, are you doing a whereclause?&amp;nbsp; Based on the description of the problem it sounds like and SDE/RDBMS problem.&amp;nbsp; You didn't mention what RDMS or what version of SDE.&amp;nbsp; Complex whereclause + SDE (especially with mismatch version) + RDMS (especially unsupported patches) can lead to this kind of problem.&amp;nbsp; Make sure your database is patched and matches supported versions of SDE and that SDE is patched too.&amp;nbsp; If all the versions line up, you will probably have to turn tracing on the RDBMS to track down the problem.&amp;nbsp; I have seen queries go from 5 seconds to 5 minutes because of the Oracle optimizer choosing the wrong path.&amp;nbsp; 24h seems like something broken on the SDE side.&amp;nbsp; You may need to rebuild indexes and other SDE cleanup/administration tasks (I am not an SDE expert.)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Sep 2011 16:14:11 GMT</pubDate>
    <dc:creator>AlexanderGray</dc:creator>
    <dc:date>2011-09-09T16:14:11Z</dc:date>
    <item>
      <title>IFeatureClass.Search hangs indefinitely</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/ifeatureclass-search-hangs-indefinitely/m-p/66802#M1781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm experiencing issues where ESRI.ArcGIS.Geodatabase.IFeatureClass.Search with a spatial filter hangs indefinitely.&amp;nbsp; I've let this run for well over a 24 hour period and the call never returns.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Even more perplexing is that the call typically returns in under a second but on some calls it ends up hanging forever.&amp;nbsp; There is no CPU, RAM, or Disk activity on the ArcMap client and no activity in the database.&amp;nbsp; The last call to the database appears to be the query that the FeatureClass.Search would have generated and returned successfully.&amp;nbsp; Arcmap must be exited by killing the ArcMap.exe process via the task manager.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been able to reproduce this against multiple client machines and multiple copies of the SDE data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are running 9.3.1 Sp1 of ArcMap and SDE.&amp;nbsp; I've reproduced this with both direct connect and sde connect.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2011 14:48:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/ifeatureclass-search-hangs-indefinitely/m-p/66802#M1781</guid>
      <dc:creator>MadelynKnipp</dc:creator>
      <dc:date>2011-09-08T14:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: IFeatureClass.Search hangs indefinitely</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/ifeatureclass-search-hangs-indefinitely/m-p/66803#M1782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I believe that an exception has occurred.&amp;nbsp; Enclose this block with try / catch just to be sure if exception has or has not occurred.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2011 17:33:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/ifeatureclass-search-hangs-indefinitely/m-p/66803#M1782</guid>
      <dc:creator>DubravkoAntonic</dc:creator>
      <dc:date>2011-09-08T17:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: IFeatureClass.Search hangs indefinitely</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/ifeatureclass-search-hangs-indefinitely/m-p/66804#M1783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Unfortunately there isn't any exception being thrown, the call is surrounded in a try, catch, finally block.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My next objective is to see if anything is happening within SDE, both the client and database are doing nothing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2011 19:24:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/ifeatureclass-search-hangs-indefinitely/m-p/66804#M1783</guid>
      <dc:creator>MadelynKnipp</dc:creator>
      <dc:date>2011-09-08T19:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: IFeatureClass.Search hangs indefinitely</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/ifeatureclass-search-hangs-indefinitely/m-p/66805#M1784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It seems to me like the problem lies in data side not in app.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Doesn't have solution but been in simmilar situation and solved by recreating database from ground up by redefining precision, projection and loading valid spatial data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try to isolate feature class that produces problem, can't be that whole SDE is having this kind of problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And to simplify the features in FC this maybe repairs geometry.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2011 20:39:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/ifeatureclass-search-hangs-indefinitely/m-p/66805#M1784</guid>
      <dc:creator>DubravkoAntonic</dc:creator>
      <dc:date>2011-09-08T20:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: IFeatureClass.Search hangs indefinitely</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/ifeatureclass-search-hangs-indefinitely/m-p/66806#M1785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What you don't mention is what the query filter looks like, are you doing a whereclause?&amp;nbsp; Based on the description of the problem it sounds like and SDE/RDBMS problem.&amp;nbsp; You didn't mention what RDMS or what version of SDE.&amp;nbsp; Complex whereclause + SDE (especially with mismatch version) + RDMS (especially unsupported patches) can lead to this kind of problem.&amp;nbsp; Make sure your database is patched and matches supported versions of SDE and that SDE is patched too.&amp;nbsp; If all the versions line up, you will probably have to turn tracing on the RDBMS to track down the problem.&amp;nbsp; I have seen queries go from 5 seconds to 5 minutes because of the Oracle optimizer choosing the wrong path.&amp;nbsp; 24h seems like something broken on the SDE side.&amp;nbsp; You may need to rebuild indexes and other SDE cleanup/administration tasks (I am not an SDE expert.)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 16:14:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/ifeatureclass-search-hangs-indefinitely/m-p/66806#M1785</guid>
      <dc:creator>AlexanderGray</dc:creator>
      <dc:date>2011-09-09T16:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: IFeatureClass.Search hangs indefinitely</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/ifeatureclass-search-hangs-indefinitely/m-p/66807#M1786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;yes, that would also my tip.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;May you try a spatialFilter = null (will return all features). In this way you may can locate the problem to the filter. Maybe you programmed an endless-loop there, at least it sounds like this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2011 10:00:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/ifeatureclass-search-hangs-indefinitely/m-p/66807#M1786</guid>
      <dc:creator>SebastianKrings</dc:creator>
      <dc:date>2011-09-12T10:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: IFeatureClass.Search hangs indefinitely</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/ifeatureclass-search-hangs-indefinitely/m-p/66808#M1787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is there any chance you solved the issue? I have the same one. Oracle + ArcGIS Add-in 10.3/2 + Spatial Search query... &amp;lt;_&amp;lt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Nov 2017 17:08:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/ifeatureclass-search-hangs-indefinitely/m-p/66808#M1787</guid>
      <dc:creator>TeomanEMI</dc:creator>
      <dc:date>2017-11-09T17:08:16Z</dc:date>
    </item>
  </channel>
</rss>

