This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes Connecting to MS-SQL Server 2005 using IPv6 address Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Connecting to MS-SQL Server 2005 using IPv6 address" Watch "Connecting to MS-SQL Server 2005 using IPv6 address" New topic
Author

Connecting to MS-SQL Server 2005 using IPv6 address

Sriraman Srinivasan
Greenhorn

Joined: Jul 08, 2010
Posts: 10
Hi All,

I am trying to establish jdbc connection to MS-SQL server using jdbc with IPv6 format address. However I am getting the below errors.


However when using local host I am able to connect to the database. When tried establishing connection with oracle db using ipv6 address, I am success ful. Kindly help me out.

Database: Ms-SQL Server 2005 SP3 Express Edition
OS: Windows 7 64-bit OS
IP format: IPv6
Driver: jtds-1.2

Have also tried using the latest jar provided by microsoft. With that also I am getting some errors.
Have already tried setting the jvm parameters:
-Djava.net.preferIPv4Stack=false
-Djava.net.preferIPv6Addresses=true

Any help is highly appreciated

Thanks in advance.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Connecting to MS-SQL Server 2005 using IPv6 address
 
It's not a secret anymore!