This week's book giveaway is in the Design forum.
We're giving away four copies of Mastering Non-Functional Requirements and have Sameer Paradkar on-line!
See this thread for details.
Win a copy of Mastering Non-Functional Requirements this week in the Design forum!
  • 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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!