How to define a connection port.
Posted: Mon 21 Feb 2005 02:09
Can anyone tell me how to define the SQL port to use to communication to the server?
On a system that has the default ODBC settings defined with a dynamic port are able to connect to the SQL Server. If I go into the ODBC connection manager, and start to create a connection, change the port from dynamic to 1433. Exit or close the ODBC manager and then open my application it works.
If I do not do this step I am unable to locate the SQL Server?
Any ideas?
On a system that has the default ODBC settings defined with a dynamic port are able to connect to the SQL Server. If I go into the ODBC connection manager, and start to create a connection, change the port from dynamic to 1433. Exit or close the ODBC manager and then open my application it works.
If I do not do this step I am unable to locate the SQL Server?
Any ideas?