CRM 2011 Import: An existing connection was forcibly closed by the remote host
We ran into an issue when importing a solution to few of our environments. The import failed and we received an error message telling us that “An existing connection was forcibly closed by the remote host.” We have tried so many different approaches to solve this problem: making the solution smaller, updated timeout values, updated the registry key, etc… The problem still remains. The pattern we saw was that the import failed and times out at exactly 30 minutes. If the import finishes in less than 30 minutes, everything works.
After days of troubleshooting, we found out that the CRM application server only allocated 1 CPU instead of 2. We increased the number of CPU to 2 and everything works like a charm! I guess that’s why IG recommended 2 CPUs at a minimum.
Issue:
Inner Exception: “{Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.”}
Solution:
Increase the # of CPU on the application server. 2 Minimum.