<?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 COM exception in getting large results dataset from SOE in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/com-exception-in-getting-large-results-dataset/m-p/135441#M3496</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a SOE enabled with a map service (9.3.1) to perform spatial query function that is similar to the example provided by the ArcObjects APIs documentation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The SOE is used from a REST Web service applcation. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When a query result dataset is small, the SOE works well from the REST service, however, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am getting the following exception when the large result dataset is expected to return:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;------------------------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The server encountered an error processing the request. The exception message is 'The remote procedure call failed. (Exception from HRESULT: 0x800706BE)'. See server logs for more details. The exception stack trace is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at System.EnterpriseServices.IRemoteDispatch.RemoteDispatchNotAutoDone(String s) at System.EnterpriseServices.RemoteServicedComponentProxy.Invoke(IMessage reqMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp;amp; msgData, Int32 type) at TGQuickAppraisalSOEInterfaces.ITGQuickAppraisal.DoTGQuickAppraisal(String polygon, Boolean polygonLayer, String filename) at QuickAppraisal.QAService.DoSOEQuickAppraisal(String appraisedString, Boolean polygonLayer) at QuickAppraisal.QAService.GetAppraisalByLayer(String columnValue, String columnName, String layerName) at SyncInvokeGetAppraisalByLayer(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]&amp;amp; outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc&amp;amp; rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc&amp;amp; rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc&amp;amp; rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage3(MessageRpc&amp;amp; rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc&amp;amp; rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage1(MessageRpc&amp;amp; rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-----------------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone experienced the same in the past?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards, Youmei&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Jan 2011 05:08:07 GMT</pubDate>
    <dc:creator>YoumeiGe</dc:creator>
    <dc:date>2011-01-12T05:08:07Z</dc:date>
    <item>
      <title>COM exception in getting large results dataset from SOE</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/com-exception-in-getting-large-results-dataset/m-p/135441#M3496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a SOE enabled with a map service (9.3.1) to perform spatial query function that is similar to the example provided by the ArcObjects APIs documentation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The SOE is used from a REST Web service applcation. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When a query result dataset is small, the SOE works well from the REST service, however, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am getting the following exception when the large result dataset is expected to return:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;------------------------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The server encountered an error processing the request. The exception message is 'The remote procedure call failed. (Exception from HRESULT: 0x800706BE)'. See server logs for more details. The exception stack trace is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at System.EnterpriseServices.IRemoteDispatch.RemoteDispatchNotAutoDone(String s) at System.EnterpriseServices.RemoteServicedComponentProxy.Invoke(IMessage reqMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp;amp; msgData, Int32 type) at TGQuickAppraisalSOEInterfaces.ITGQuickAppraisal.DoTGQuickAppraisal(String polygon, Boolean polygonLayer, String filename) at QuickAppraisal.QAService.DoSOEQuickAppraisal(String appraisedString, Boolean polygonLayer) at QuickAppraisal.QAService.GetAppraisalByLayer(String columnValue, String columnName, String layerName) at SyncInvokeGetAppraisalByLayer(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]&amp;amp; outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc&amp;amp; rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc&amp;amp; rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc&amp;amp; rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage3(MessageRpc&amp;amp; rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc&amp;amp; rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage1(MessageRpc&amp;amp; rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-----------------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone experienced the same in the past?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards, Youmei&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jan 2011 05:08:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/com-exception-in-getting-large-results-dataset/m-p/135441#M3496</guid>
      <dc:creator>YoumeiGe</dc:creator>
      <dc:date>2011-01-12T05:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: COM exception in getting large results dataset from SOE</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/com-exception-in-getting-large-results-dataset/m-p/135442#M3497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm currently facing the same issue. I would really appreciate if somebody would give me some solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm also calling a servletContext.releaseContext() method each time I'm done with a context.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My stacktrace below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thread: 6: Error encountered while running simulation 4721: System.Runtime.InteropServices.COMException (0x800706BE): The remote procedure call failed. (Exception from HRESULT: 0x800706BE) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; at System.EnterpriseServices.IRemoteDispatch.RemoteDispatchNotAutoDone(String s) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; at System.EnterpriseServices.RemoteServicedComponentProxy.Invoke(IMessage reqMsg) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp;amp; msgData, Int32 type) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; at IntePoint.Nexus.Server.ISimulationExecution.RunSimulationNow(Int64 simulationId, Hashtable userInfo) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My logic is I'm passing a servetContext inside userInfo Hashtable and I do a releaseContext before ending RunSimulationNow method.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 May 2013 01:23:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/com-exception-in-getting-large-results-dataset/m-p/135442#M3497</guid>
      <dc:creator>SandeepDolia</dc:creator>
      <dc:date>2013-05-22T01:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: COM exception in getting large results dataset from SOE</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/com-exception-in-getting-large-results-dataset/m-p/135443#M3498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have the same issue, the development environment as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- windows server 2008&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Oracle SDE&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Visual Studio 2010&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Network Analysis&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- SOM &amp;amp; SOC in different servers&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 04:34:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/com-exception-in-getting-large-results-dataset/m-p/135443#M3498</guid>
      <dc:creator>AhmedDiab</dc:creator>
      <dc:date>2014-03-11T04:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: COM exception in getting large results dataset from SOE</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/com-exception-in-getting-large-results-dataset/m-p/135444#M3499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The behavior seems a problem of time-out. In arcgis server you can see timeout in this link &lt;/SPAN&gt;&lt;A href="http://webhelp.esri.com/arcgisserver/9.3/dotNet/index.htm#tuning_services.htm"&gt;http://webhelp.esri.com/arcgisserver/9.3/dotNet/index.htm#tuning_services.htm&lt;/A&gt;&lt;SPAN&gt;. Peraphs your request fail because the time exceed the time-out server context&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2014 13:37:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/com-exception-in-getting-large-results-dataset/m-p/135444#M3499</guid>
      <dc:creator>nicogis</dc:creator>
      <dc:date>2014-03-13T13:37:44Z</dc:date>
    </item>
  </channel>
</rss>

