This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes Error using JTDS Driver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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
It's not a secret anymore!