wood burning stoves 2.0*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Error using JTDS Driver" Watch "Error using JTDS Driver" New topic
Author

Error using JTDS Driver

Nidhi Singhal
Ranch Hand

Joined: Sep 19, 2004
Posts: 89

Hi,

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.

Thanks

Nidhi
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 ........

Guy
Nidhi Singhal
Ranch Hand

Joined: Sep 19, 2004
Posts: 89

Hi

I am connecting to the database as following:

"jdbc:jtds:sqlserver://<IPaddress>:1434/myDB;SelectMethod=cursor;Instance=myInstance"

Thanks

Nidhi
 
jQuery in Action, 2nd edition
 
subject: Error using JTDS Driver
 
Similar Threads
Connect to SQL Server through Shared Memory
exception running with SQL server 2000
iReports 4.0 Test Connection Failed
trying to connect sql server 2000 - not connected
[Microsoft Driver] error