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 application (912151)
The information in this article applies to:
- Microsoft .NET Framework 2.0
- Microsoft SQL Server 2005 Developer Edition
- Microsoft SQL Server 2005 Enterprise Edition
- Microsoft SQL Server 2005 Enterprise Edition for Itanium Based Systems
- Microsoft SQL Server 2005 Enterprise X64 Edition
- Microsoft SQL Server 2005 Standard X64 Edition
- Microsoft SQL Server 2005 Standard Edition
SYMPTOMSWhen 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: - You are using a Microsoft ADO.NET 2.0-based application.
- The application uses the
System.Data.SqlClient namespace to connect to the database.
- The principal server is unavailable.
This problem affects connections where you specify the failover partner server in the
connection string by using the "Failover Partner" keyword. This problem also affects connections
where the failover server was retrieved from the primary server on a previous
connection try. 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.STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Modification Type: | Minor | Last Reviewed: | 7/26/2006 |
---|
Keywords: | kbprb kbQFE kbpubtypekc KB912151 kbAudDeveloper kbAudITPRO |
---|
|