Darren Liu's Blog

Archive for February 2012

CRM 2011 Import: An existing connection was forcibly closed by the remote host

leave a comment »

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.


Inner Exception: “{Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.”}


Increase the # of CPU on the application server.  2 Minimum.

Written by darrenliu

02/29/2012 at 10:00 pm

Slow Internet Explorer 7 (IE7) Performance

with one comment

I am working on a global Dynamics CRM 2011 project and we are encountering performance issues on Internet Explorer (IE) 7.  I guess there are several options to tackle this problem.

  • Option 1: If you customer is ok with upgrading all of the users to IE 8 or 9, they will see performance enhancements for sure comparing to IE 7.  However not an ideal option since enterprise customers are not moving as fast as smaller companies on their infrastructure and on the users’ operating system.
  • Option 2: Update 2 IE settings and add a registry key to the user’s machine, I can’t believe what I am seeing.  CRM 2011 performs extremely well after the changes.  Here’s what I did.
    1. Change the Internet Explorer settings
      • Navigate to Tools | General | Tabs (Settings).
      • Unselect Enable Quick Tabs.
      • Select Let Internet Explorer decide how pop-ups should open.
      • Click OK and then restart the browser.
    2. Add the following registry key (by default, IE only has 2 connections)
      • Click Run  | Regedit.
      • Navigate to hkeycurrentuser\software\microsoft\windows\currentversion\internetsettings.
      • Add new DWORD MaxConnectionPerServer with Decimal value of 10.
      • Add new DWORD MaxConnectionsPer1_0Server with Decimal value of 10.
      • Close Regedit.

Thanks to my buddy, Jim Wang, for the great tips!

Written by darrenliu

02/22/2012 at 3:29 am

Chance to Get a free e-Copy of our CRM book!

with 5 comments

Do you want to read our book for free?  Our publisher is giving away two free e-copies of our book, Microsoft Dynamics CRM 2011 New Features,  if you tell us one or more of features that make you want to own this book in the comments section below (on this post).  Two of the individuals who have the best reason will get a free e-book. 

Please make sure you provide me your contact information so I can get in touch with you.

Thank you for your support!


Darren Liu

Written by darrenliu

02/08/2012 at 1:41 am

Posted in Book, CRM

Tagged with ,