Article ID: 912151 - Last Review: December 3, 2007 - Revision: 2.4 FIX: The connection may time out before the first try to connect to the failover partner server when you try to connect to a SQL Server 2005 mirrored database by using an ADO.NET 2.0-based applicationOn This PageSYMPTOMSWhen you try to connect to a Microsoft SQL Server 2005 mirrored database, the connection may time out before the first try to connect to the failover partner server. This problem may occur if the following conditions are true:
CAUSEThis problem occurs because the System.Data.SqlClient namespace uses an internal default time-out value when
the System.Data.SqlClient namespace connects at the network layer. RESOLUTIONTo resolve this issue, download the appropriate file for your computer:
For an x86-based computerThe following file is available for download from the Microsoft Download Center:http://download.microsoft.com/download/2/C/5/2C5BCDC9-3241-443A-9F96-4E0B0EDFA727/NDP20-KB916002-X86.exe (http://download.microsoft.com/download/2/c/5/2c5bcdc9-3241-443a-9f96-4e0b0edfa727/ndp20-kb916002-x86.exe) For an x64-based computerThe following file is available for download from the Microsoft Download Center:http://download.microsoft.com/download/D/3/9/D39C79DF-4158-45DF-9031-92C52AB0ED19/NDP20-KB916002-X64.exe (http://download.microsoft.com/download/d/3/9/d39c79df-4158-45df-9031-92c52ab0ed19/ndp20-kb916002-x64.exe) For an Itanium-based computerThe following file is available for download from the Microsoft Download Center:http://download.microsoft.com/download/0/0/3/00392DD3-5B4F-4D99-94E8-6827B8F8D7EF/NDP20-KB916002-IA64.exe (http://download.microsoft.com/download/0/0/3/00392dd3-5b4f-4d99-94e8-6827b8f8d7ef/ndp20-kb916002-ia64.exe) For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base: 119591
(http://support.microsoft.com/kb/119591/
)
How to obtain Microsoft support files from online services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. MORE INFORMATION The internal default time-out value
should be a small percentage of the overall connection time out. Additionally, the overall connection time out should be sufficient to let the application try to connect to the failover partner server if the principal
server is unavailable. This hotfix changes the internal algorithm that is used for failover connection tries. The new algorithm uses a shorter internal time-out value. Therefore, the application has sufficient time to try to connect to both the primary server and the secondary server. However, the new algorithm still respects the overall connection time out that the application code specifies. Notes
824684
(http://support.microsoft.com/kb/824684/
)
Description of the standard terminology that is used to describe Microsoft software updates
APPLIES TO
| Article Translations
|
Back to the top
