File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and the fly likes Error using JTDS Driver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Error using JTDS Driver" Watch "Error using JTDS Driver" New topic

Error using JTDS Driver

Nidhi Singhal
Ranch Hand

Joined: Sep 19, 2004
Posts: 89


I am using JTDS Driver to connect to SQL Server database (Microsoft SQL Server Desktop Engine (MSDE) - 2000).
But, whenever I try to connect, it gives the following error:

"Unable to get information from SQL Server: myInstance"

where 'myInstance" is the name of SQL server instance on my machine.

I am unable to find out what is causing this error.

The SQL Server that I am using supports TCP/IP protocol.

Please suggest a possible solution.


Guy Allard
Ranch Hand

Joined: Nov 24, 2000
Posts: 776
We do not use the instance name, but the actual IP address of the server instance .......

I don't think I have ever tried to connect with JTDS using the instance name ........

Nidhi Singhal
Ranch Hand

Joined: Sep 19, 2004
Posts: 89


I am connecting to the database as following:



I agree. Here's the link:
subject: Error using JTDS Driver
Similar Threads
exception running with SQL server 2000
iReports 4.0 Test Connection Failed
Connect to SQL Server through Shared Memory
trying to connect sql server 2000 - not connected
[Microsoft Driver] error