?
Solved

Cannot create Odbc connection to sql server 2k from one windows XP machine to another XP machine running sql server 2000 in the same LAN

Posted on 2007-03-28
5
Medium Priority
?
1,384 Views
Last Modified: 2008-04-03
I have a small Lan with 4 machines running windows XP prof. One of them has sql server 2000 installed on it. I had two machines connect to sql server 2k using ODBC connection and they work fine. I recently bought a new dell computer and then tried to use Odbc to connect to sql server just like the other computers using the same sql driver, sql server username and password but it does not connect.
The servername shows up in "Microsoft Sql server DSN configuration window" but when I go to next and then put Login ID and password and say Next, it does not connect. Any ideas what may be going wrong or where to check?

0
Comment
Question by:uzairp
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 

Expert Comment

by:jrosengr
ID: 18812149
Use IP address to connect to sql server
0
 

Author Comment

by:uzairp
ID: 18812413
How can I know the ip address?
0
 

Author Comment

by:uzairp
ID: 18813002
I used the ip address of the machine (instead of machine name) in the odbc connection window but I still got the same error. Here is the error I receive;
connection failed: 01000
sql server error: 10060
Microsoft odbc driver tcp/ip sockets, connection open connect()
connection failed: sql state: 08001
sql server error: 17
microsoft odbc sql server driver tcp/ip socket sql server does not exist or access denied.
0
 
LVL 2

Accepted Solution

by:
jhshen earned 1000 total points
ID: 18813114
A few things you may need to do to identify the cause of this problem.
1. Ensure the 2 PCs' IP addresses belong to the same subnet mask. For example, 192.168.0.100, 192.168.0.101. subnet mask: 255.255.255.0
2. In your Winxp machine, open DOS command prompt and type the following command:
telnet 192.168.0.101 1433
Here the 192.168.0.101 is an example of your SQL 2K server IP address
If you saw some error message, please check your SQL2K server and WinXP firewall setting see if the SQL server port 1433 is not allowed.
Also, please check your SQL 2K server, Start Menu->Microsoft SQL Server->Server Network Utility
Ensure "TCP/IP" protocal is in Enable protocols list

Let's try to figure out the problem cause first. :-)
0
 
LVL 1

Assisted Solution

by:palvin
palvin earned 1000 total points
ID: 18813634
Hi uzairp,
Please apply the SQL2000 service pack 4 patches. i will resolved your issue. i hit the problem before due with not apply SQL2000 patches
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question