Microsoft Knowledge Base Email Alertz

KBAlertz.com: Error message when an application connects to SQL Server on a server that is running Windows Server 2003: General Network error, Communication link failure, or A transport-level error

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 2.0 Web Hosting with SQL 2005: Click Here!
Discount ASP.NET Hosting


Bug Tracking Software
For bug tracking software or defect tracking software or issue tracking software, visit Axosoft.


Community Site



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



Expert Web Design & Graphic Design
Design44.com




Mentioned In








Microsoft Knowledge Base Article

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




Error message when an application connects to SQL Server on a server that is running Windows Server 2003: "General Network error," "Communication link failure," or "A transport-level error"

Article ID:942861
Last Review:November 27, 2007
Revision:2.3
On This Page

SYMPTOMS

Consider the following scenario. A server is running Windows Server 2003 and Microsoft SQL Server. You have an application that connects to SQL Server by using TCP/IP. In this scenario, you may intermittently receive one of the following error messages when the application connects to SQL Server:
Error message 1
[Microsoft][ODBC SQL Server Driver][DBNETLIB] General Network error. Check your network documentation
Error message 2
ERROR [08S01] [Microsoft][SQL Native Client]Communication link failure
Error message 3
System.Data.SqlClient.SqlException: A transport-level error has occurred when sending the request to the server. (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.)
You may also receive one of these error messages when the network load on SQL Server is high. For example, you may receive one of these error messages when you replicate databases in SQL Server. Or, you may receive one of these error messages when a multiple-user application accesses databases in SQL Server.

Back to the top

CAUSE

This problem occurs because the TCP Chimney Offload feature is enabled on the server. The TCP Chimney Offload feature is enabled by the Windows Server 2003 Scalable Networking Pack.

Typically, this problem occurs when the network adapter uses the Broadcom 5708 chipset. For example, the following network adapters use the Broadcom 5708 chipset:
Broadcom NetXtreme II
Hewlett-Packard NC373i Multifunction Gigabit Server Adapter
This problem may also occur when the network adapter uses other chipsets.

Back to the top

RESOLUTION

To resolve this problem, ask the hardware vendor if the hardware vendor has the following updates:
The latest basic input/output system (BIOS) update for the server
The latest firmware update for the network adapter
The latest driver update for the network adapter
If the hardware vendor has no updates, see the "Workaround" section to work around this problem.

Back to the top

WORKAROUND

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 (http://kbalertz.com/Feedback.aspx?kbNumber=322756/) How to back up and restore the registry in Windows


To work around this problem, disable the TCP Chimney Offload feature. To do this, follow these steps:
1.Click Start, click Run, type cmd, and then press ENTER.
2.At the command prompt, type the following command, and then press ENTER:
Netsh int ip set chimney DISABLED
Note You do not have to restart the server after you run this command.
If the performance of Windows Server 2003 decreases after you disable the TCP Chimney Offload feature, follow these additional steps:
1.Click Start, click Run, type Regedit, and then click OK.
2.Locate the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
3.Double-click the EnableTCPChimney registry entry.
4.In the Edit DWORD Value dialog box, type 0 in the Value data box, and then click OK.
5.Double-click the EnableRSS registry entry.
6.In the Edit DWORD Value dialog box, type 0 in the Value data box, and then click OK.
7.Double-click the EnableTCPA registry entry.
8.In the Edit DWORD Value dialog box, type 0 in the Value data box, and then click OK.
9.Restart the server.

Back to the top

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Back to the top

MORE INFORMATION

The Windows Server 2003 Scalable Networking Pack provides the following features:
TCP Chimney Offload
Receive-Side Scaling (RSS)
Network Direct Memory Access (NetDMA)
These features optimize the performance of Windows Server 2003 when Windows Server 2003 is processing network traffic.

To obtain the Windows Server 2003 Scalable Networking Pack, you must install Windows Server 2003 Service Pack 2 (SP2). Or, you must install the update that is described in Microsoft Knowledge Base article 912222. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
912222 (http://kbalertz.com/Feedback.aspx?kbNumber=912222/) The Microsoft Windows Server 2003 Scalable Networking Pack release
To enable the TCP Chimney Offload feature, the server must have a network adapter that supports offload technologies.

Back to the top

How to use a network trace to determine whether the TCP Chimney Offload feature is enabled

When you directly capture a network trace on the server, the network trace contains only TCP three-way handshakes and UDP traffic if the TCP Chimney Offload feature is enabled. The network trace does not contain other traffic because the TCP Chimney Offload feature lets the network traffic bypass that specific part of the TCP/IP stack. The driver that captures packets resides in that specific part of the TCP/IP stack.

The information and the solution in this document represents the current view of Microsoft Corporation on these issues as of the date of publication. This solution is available through Microsoft or through a third-party provider. Microsoft does not specifically recommend any third-party provider or third-party solution that this article might describe. There might also be other third-party providers or third-party solutions that this article does not describe. Because Microsoft must respond to changing market conditions, this information should not be interpreted to be a commitment by Microsoft. Microsoft cannot guarantee or endorse the accuracy of any information or of any solution that is presented by Microsoft or by any mentioned third-party provider.

Microsoft makes no warranties and excludes all representations, warranties, and conditions whether express, implied, or statutory. These include but are not limited to representations, warranties, or conditions of title, non-infringement, satisfactory condition, merchantability, and fitness for a particular purpose, with regard to any service, solution, product, or any other materials or information. In no event will Microsoft be liable for any third-party solution that this article mentions.

Back to the top


APPLIES TO
Microsoft SQL Server 2005 Standard Edition
Microsoft SQL Server 2005 Workgroup Edition
Microsoft SQL Server 2005 Developer Edition
Microsoft SQL Server 2005 Enterprise Edition
Microsoft SQL Server 2000 Personal Edition
Microsoft SQL Server 2000 Standard Edition
Microsoft SQL Server 2000 Workgroup Edition
Microsoft SQL Server 2000 Enterprise Edition

Back to the top

Keywords: 
kbexpertiseadvanced kbtshoot kbprb KB942861

Back to the top

       

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