Article ID: 900487 - Last Review: March 11, 2006 - Revision: 2.1 You cannot connect to a default instance of SQL Server 2005 through a firewall by using the SQL Server networking interface (SNI)SYMPTOMSYou try to connect to a default instance of Microsoft SQL Server 2005 through a firewall by using the SQL Server networking interface (SNI). However, the ports for the TCP/IP connection are not opened on the firewall during the first connection attempt. Therefore, the TCP/IP connection may time out and fail. Additionally, Named Pipes are not used for the next connection attempt, and the connection fails again. CAUSEThis problem occurs because the following conditions are true:
WORKAROUNDTo work around this problem, use one of the following
methods:
MORE INFORMATIONIf you try to use the client-side network library for SQL Server (Dbnetlib.dll), you also experience this problem. However, SQL Server 2005 will fail over and write Named Pipes into the
LastConnectionCache cache. When you try to make another connection,
SQL Server 2005 tries the Named Pipes that were written into the
LastConnectionCache, and the connection is successfully established. | Article Translations
|

Back to the top
