youmei_ge

COM exception in getting large results dataset from SOE

Discussion created by youmei_ge on Jan 11, 2011
Latest reply on Mar 13, 2014 by ciava.at
Hi all,

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.

The SOE is used from a REST Web service applcation.
When a query result dataset is small, the SOE works well from the REST service, however,
I am getting the following exception when the large result dataset is expected to return:

------------------------------------------------------------------
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:
at System.EnterpriseServices.IRemoteDispatch.RemoteDispatchNotAutoDone(String s) at System.EnterpriseServices.RemoteServicedComponentProxy.Invoke(IMessage reqMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& 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[]& outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage3(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage1(MessageRpc& rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
-----------------------------------------------------------

Has anyone experienced the same in the past?

Thanks for any help.

Regards, Youmei

Outcomes