Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 ODBC Data Source Connection problems

Author  Topic 

mccoigk
Starting Member

12 Posts

Posted - 2009-01-13 : 13:43:18
I am creating a new System DSN on a workstation in a remote domain from my SQL Server I want to connect to. When I browse for the data source none of the SQL servers in my domain are in the list, only the remote domain servers can be seen. Fine, so I type in the server name along with the login and get SQL Server error 53 and 17 (SQL Server does not exist or access denied). I know the multiple logins Im trying are correct, I even try with IP address even though I know WINS/NETBIOS/lmhosts is setup properly. Nothing works.

I thought the problem was domain related or possibly a firewall problem however I have no problems creating a data source in the remote domain to gather data from other SQL Servers in my domain and other remote domains.

I dont think the problem is TCPIP or Named Pipes as I can connect from other workstations in my domain with the same SQL Server.

Any ideas on how to fix this?

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-01-13 : 13:48:54
That error is a network issue and not an access issue. Try connecting in the ODBC DSN with ServerName,PortNumber and let us know how that goes. If that works, you can setup an alias so you don't have to always type in the port number. You can even setup the alias inside the ODBC DSN by clicking on the client network button (or similarly named).

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

mccoigk
Starting Member

12 Posts

Posted - 2009-01-13 : 14:05:11
OK, went to 'Client Config' for TCP/IP I unchecked 'Dynamically determine port' and entered port 1433. Now my error message is 10060 and 17, cant connect. Any other ideas?
Thanks for your help.
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-01-13 : 14:05:44
Are you sure 1433 is the correct port? We never use 1433 on our systems.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

mccoigk
Starting Member

12 Posts

Posted - 2009-01-13 : 14:18:00
I thought that was the default port? I know we've never changed any settings in our SQL Servers so I was guessing that was the default. Is there a place to check this to be sure?
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-01-13 : 14:22:38
Go to the SQL Server and check Configuration Manager or you could view the info in the SQL Server Error Log in the startup data.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

mccoigk
Starting Member

12 Posts

Posted - 2009-01-13 : 14:41:22
Verified in the error log:
'Server is listening on ['any' <ipv4> 1433].
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-01-13 : 14:48:22
Could you provide the full 10060 error message?

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

mccoigk
Starting Member

12 Posts

Posted - 2009-01-13 : 15:22:36
Here it is:
[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]ConnectionOpen (Connect())
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-01-13 : 15:29:26
We'll need to test with telnet on the client machine. Go to Start..Run..type in telnet and hit enter. Now type in ServerName PortNumber, with a space in between instead of a comma. If you get a blank screen, then you are good. If you get an error, then you have a network/config issue.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

mccoigk
Starting Member

12 Posts

Posted - 2009-01-13 : 18:10:11
It returned an error. So I guess I am chasing a network config problem....
Go to Top of Page
   

- Advertisement -