Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 914264 - Last Review: August 21, 2007 - Revision: 2.2
Error message when you submit an order or create an account in Microsoft Dynamics CRM 3.0: "The underlying connection was closed: An unexpected error occurred on a receive"
Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986Â
(http://kbalertz.com/Feedback.aspx?kbNumber=256986/
)
Description of the Microsoft Windows registry
When you submit an order or create an account in Microsoft Dynamics CRM 3.0, you receive the following error message:
The underlying connection was closed: An unexpected error occurred on a receive.
This error message occurs when you are using the Microsoft Dynamics CRM Connector for Microsoft Dynamics GP. This problem occurs intermittently.
Note The order or account may be created in Microsoft Dynamics GP after you receive the error message.
You may see this problem after the Microsoft Dynamics CRM or Microsoft Dynamics GP servers have been idle for a long time. When the servers are no longer idle, you can submit an order or create an account without receiving this error message.
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
To resolve this problem, increase the number of TCP ports that are available. Then, reduce the length of time that these TCP ports must wait before they can be re-used. To do this, modify the MaxUserPort registry setting and the TcpTimedWaitDelay registry setting as follows:
- Click Start, click Run, type regedit, and then click OK.
- Locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
- Right-click MaxUserPort, and then click Modify.
- In the Value data box, enter 65534, and then click OK.
- Right-click TcpTimedWaitDelay, and then click Modify.
- In the Value data box, enter 30, and then click OK.
Notes- Modify these registry settings on the Microsoft CRM Server, on the Microsoft CRM Connector for Great Plains server, and on the Microsoft SQL Server that are used together with the Microsoft CRM Connector for Great Plains.
- You must restart the computer after you modify the registry.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
APPLIES TO
- Microsoft Dynamics CRM 3.0
- Microsoft CRM Integration for Great Plains, when used with:
- Microsoft Dynamics CRM 3.0
| kbmbscrm40no kbtshoot kberrmsg kbmbsmigrate kbbug KB914264 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate