Microsoft Knowledge Base Email Alertz

KBAlertz.com: TCP settings that can impact BizTalk Server

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]

Search KbAlertz

Advanced Search

Webmasters
Put kbAlertz on your website.
[ Click Here for more! ]





ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
KBAlertz referrals get
** SIX MONTHS FREE **


Community Site



We Send hundreds of thousands of emails using ASP.NET Email


ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
KBAlertz referrals get
** SIX MONTHS FREE **




Mentioned In








Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks




Article ID: 970406 - Last Review: April 20, 2009 - Revision: 1.1

TCP settings that can impact BizTalk Server

On This Page

Source: Microsoft Support

RAPID PUBLISHING

RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION. THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED SUPPLEMENT OTHER KNOWLEDGE BASE INFORMATION.

Symptom



On a BizTalk server, you may notice the following symptoms:

Symptom 1



The following events may be logged in the Application Event logs:

Event ID: 6913
Description: SQL Server, BizTalkMsgBoxDb, [DBNETLIB][ConnectionWrite (send()).]General network error. Check your network documentation.

Event ID: 5410
Description: [DBNETLIB][ConnectionWrite (send()).]General network error. Check your network documentation.

Event ID: 6912
Description: DBNETLIB][ConnectionRead (recv()).]General network error. Check your network documentation.

Symptom 2



The BizTalk Server fails to restart or shutdown. When rebooting the computer, it may just hang and the mouse may not move. These symptoms may occur for an extended period of time and the computer may not shut down. There are no errors in the event log.

Cause

These issues can occur because of TCP/IP changes in Windows Server 2003 and later.

Resolution



There are several items to implement to stop the errors from occurring:
  1. On the SQL server, set the SynAttackProtect registry key using the steps in KB article 899599:

    899599 A BizTalk Server Host instance fails, and a "General Network" error is written to the Application log when the BizTalk Server-based server processes a high volume of documents (http://support.microsoft.com/?id=899599 (http://support.microsoft.com/?id=899599) )
  2. On all the BizTalk and SQL servers running on Windows Server 2003, use the steps in KB article 948496 to disable the Scalable Networking Pack (SNP) features:

    948496 An update to turn off default SNP features is available for Windows Server 2003-based and Small Business Server 2003-based computers (http://support.microsoft.com/?id=948496 (http://support.microsoft.com/?id=948496) )

    To disable TCP Chimney Offload feature of the Scalable Networking Pack (SNP), you can also install the hotfix in KB article 940202:

    940202 A Windows Server 2003-based computer may stop responding during shutdown after you install the Scalable Networking Pack (http://support.microsoft.com/?id=940202 (http://support.microsoft.com/?id=940202) )

    On all the BizTalk and SQL servers running on Windows Server 2008, use the steps in KB article 951037 to disable Receive Side Scaling (RSS) and the TCP Chimney Offload features of the Scalable Networking Pack (SNP):

    951037 Information about the TCP Chimney Offload, Receive Side Scaling, and Network Direct Memory Access features in Windows Server 2008 (http://support.microsoft.com/?id=951037 (http://support.microsoft.com/?id=951037) )
  3. On all BizTalk servers running on Windows Server 2003, increase the ephemeral ports and reduce the TCP re-use timeout setting by modifying the MaxUserPorts and TCPTimedWaitDelay registry keys documented at the link below.

    BizTalk Server Database Optimization (http://msdn.microsoft.com/en-us/library/bb743398.aspx (http://msdn.microsoft.com/en-us/library/bb743398.aspx) )

    You can modify these settings at the HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters registry key. The table below lists the recommended values.

    Collapse this tableExpand this table
     Value nameValue Comment 
     MaxUserPort 0xFFFF (65535)  Prevents port exhaustion  
     TcpTimedWaitDelay 0x1E (30)  Release unused ports as quickly as possible 

    On all BizTalk servers running on Windows Server 2008, we recommend not modifying the dynamic port range. If you determine that additional dynamic ports are needed, refer to the following article in the Microsoft Knowledge Base (KB):
    929851  (http://kbalertz.com/Feedback.aspx?kbNumber=929851/ ) The default dynamic port range for TCP/IP has changed in Windows Vista and in Windows Server 2008

    The TCP re-use timeout setting can also be reduced by modifying the
    TCPTimedWaitDelay
    registry key. For more information on this registry key in Windows Server 2008 and Windows Vista, refer to the following site: http://download.microsoft.com/download/c/2/6/c26893a6-46c7-4b5c-b287-830216597340/tcpip_reg.doc (http://download.microsoft.com/download/c/2/6/c26893a6-46c7-4b5c-b287-830216597340/tcpip_reg.doc)
  4. On all the BizTalk and SQL servers running on Windows Server 2003, use the steps in KB article 906736 to disable Privilege Attribute Certificate (PAC) verification. Additionally, on all BizTalk and SQL servers running on Windows Server 2008, refer to KB article 906736 for more information on Privilege Attribute Certificate (PAC) verification.
    906736  (http://kbalertz.com/Feedback.aspx?kbNumber=906736/ ) You experience a delay in the user-authentication process when you run a high-volume server program on a domain member in Windows 2000 or Windows Server 2003

RESTART REQUIREMENT



You must restart your computer after implementing the changes above.

More Information



The KB articles below also reference General Network Errors:

328476 Description of TCP/IP settings that you may have to adjust when SQL Server connection pooling is disabled (http://support.microsoft.com/?id=328476 (http://support.microsoft.com/?id=328476) )

319502 PRB: "WSAEADDRESSINUSE" Error Message When You Try to Connect Through an Anonymous Port After You Increase the IMAP Connection Limit (http://support.microsoft.com/?id=319502 (http://support.microsoft.com/?id=319502) )

DISCLAIMER

MICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, RELIABILITY OR ACCURACY OF THE INFORMATION CONTAINED IN THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THIS WEBSITE (THE “MATERIALS”) FOR ANY PURPOSE. THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE.

TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.

APPLIES TO
  • Microsoft BizTalk Server 2009 Branch
  • Microsoft BizTalk Server 2009 Developer
  • Microsoft BizTalk Server 2009 Enterprise
  • Microsoft BizTalk Server 2009 Standard
  • Microsoft BizTalk Server 2006 R2 Branch Edition
  • Microsoft BizTalk Server 2006 R2 Developer Edition
  • Microsoft BizTalk Server 2006 R2 Enterprise Edition
  • Microsoft BizTalk Server 2006 R2 Standard Edition
  • Microsoft BizTalk Server 2006 Developer Edition
  • Microsoft BizTalk Server 2006 Enterprise Edition
  • Microsoft BizTalk Server 2006 Standard Edition
  • Microsoft BizTalk Server 2004 Developer Edition
  • Microsoft BizTalk Server 2004 Enterprise Edition
  • Microsoft BizTalk Server 2004 Partner Edition
  • Microsoft BizTalk Server 2004 Standard Edition
Keywords: 
kbrapidpub kbnomt KB970406
       

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

Be the first to leave feedback, to help others about this knowledge base article.

(Optional) Name

(Optional) Public URL Or Email

Comments
No HTML -- Text Only Please