• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Error using JTDS Driver

 
Ranch Hand
Posts: 89
Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 776
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic