Quantcast
Channel: CRM Development forum
Viewing all articles
Browse latest Browse all 8223

MS CRM 2011 - Exception - "The request channel timed out while waiting for a reply after 00:01:59.9844005. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation.."

$
0
0

Hi,

I am developing a console application which processes around 2 lakhs of lead records and also deals with Contacts, Opportunities, Account and a custom entity. Here, what I am trying to achieve is the association between these entities i.e. setting potentialcustomerid for Opporitunities, setting parentcustomerid for Contacts and the most importantly new relation between lead and custom entity (ex. SampleEntity) created. So, every lead or group of leads will have 'SampleEntity' record created. The application is ready and running. However, after processing 108486 lead records, system threw following Exception:

"The request channel timed out while waiting for a reply after 00:01:59.9844005. Increase the timeout value passed

 

to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may

 

have been a portion of a longer timeout."

 

 

InnerException.Message: The HTTP request to 'http://X.X.X.X:5555/MIGRATION/XRMServices/2011/Organization.svc' has exceeded the allotted timeout of 00:02:00. The time allotted to this operation may have been a portion of a longer timeout.

 

Server stack trace:

 at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)

 at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request(Message message, TimeSpan

 

timeout)

 at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)

 at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime

 

operation, Object[] ins, Object[] outs, TimeSpan timeout)

 at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall,

 

ProxyOperationRuntime operation)

 at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

 

Exception rethrown at [0]:

 at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)

 at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)

 at Microsoft.Xrm.Sdk.IOrganizationService.Update(Entity entity)

 at Microsoft.Xrm.Sdk.Client.OrganizationServiceProxy.UpdateCore(Entity entity)

 at Microsoft.Xrm.Sdk.Client.OrganizationServiceProxy.Update(Entity entity)

 at Marketing_New_Process_Flow_Utility.Program.Main(String[] args) in D:\..\Program.cs:line 165

Any suggestions are highly appreciated.

Thanks,
Abhi


Viewing all articles
Browse latest Browse all 8223

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>