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
1,375 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 250 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 250 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

738 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