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

Dynamics CRM Online connection getting forcibly closed by the server in the middle of migration

$
0
0

Hi All,

While we are migrating records from SQL to CRM Online, in the middle of migration we see that the CRM Online Connection is getting forcibly closed by the server.

“System.ServiceModel.CommunicationException: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server System.Net.WebException: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server System.Net.Soc...ketsException: An existing connection was forcibly closed the remote host at System.Net.Sockets.NetworkStream……”

We figured out there is relationship between ExecuteMultipleRequest batch size & CRM Organization Service Proxy timeout. Earlier when I set Batch Size=100 & Timeout = 3600s we used to see that connection getting forcibly closed by the server, after we change the Batch Size=10 & Timeout=100s we didn’t see any connection issue but the performance has gone down drastically.

To figure out what are the optimal values other than trail & error methods, does anyone have any idea on how to determine these values keeping connection issue & performance in mind. Appreciate any responses.

Thanks,
Shaik


Shaik


Viewing all articles
Browse latest Browse all 8223

Trending Articles



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