• Post Reply Bookmark Topic Watch Topic
  • New Topic

Error using JTDS Driver  RSS feed

 
Nidhi Singhal
Ranch Hand
Posts: 89
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 776
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 89
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I am connecting to the database as following:

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

Thanks

Nidhi
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!