You cannot connect to SQL Server on any port other than 1433 if you use a protocol other than TCP/IP (307645)
The information in this article applies to:
- Microsoft ADO.NET (included with the .NET Framework)
- Microsoft ADO.Net 2.0
- Microsoft Visual C# .NET (2002)
- Microsoft Visual C# .NET (2003)
- Microsoft Visual C# 2005
This article was previously published under Q307645 This article refers to the following Microsoft .NET
Framework Class Library namespace:
SYMPTOMS When you use a protocol other than Transmission Control
Protocol/Internet Protocol (TCP/IP), SqlConnection.Open fails if you specify a port number other than 1433 to connect to
an instance of Microsoft SQL Server. RESOLUTION To resolve this problem, use TCP/IP protocol, and include
"Server=ComputerName, PortNumber" in the connection string.
Modification Type: | Minor | Last Reviewed: | 10/4/2006 |
---|
Keywords: | kbnofix kbprb kbSqlClient kbSystemData KB307645 kbAudDeveloper |
---|
|