Help coderanch get a
new server
by contributing to the fundraiser

Rachana Mistry

Greenhorn
+ Follow
since Apr 20, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Rachana Mistry

Hi i am facing a similar problem .My Java app connects to MSSQL Server 2005 DB .The code works fine for 32 bit but does not work for 64 bit .I also tried creating a system DSN on 64 bit machine but getting an exception . please find my code below :



Exception :
java.sql.SQLException: [Microsoft][ODBC Driver Manager] Invalid string or buffer length
at sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown Source)
at sun.jdbc.odbc.JdbcOdbc.standardError(Unknown Source)
at sun.jdbc.odbc.JdbcOdbc.SQLGetDataString(Unknown Source)
at sun.jdbc.odbc.JdbcOdbcResultSet.getDataString(Unknown Source)
at sun.jdbc.odbc.JdbcOdbcResultSet.getString(Unknown Source)
at sun.jdbc.odbc.JdbcOdbcConnection.buildTypeInfo(Unknown Source)
at sun.jdbc.odbc.JdbcOdbcConnection.initialize(Unknown Source)
at sun.jdbc.odbc.JdbcOdbcDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at DbConnection.Connect(DbConnection.java:27)


Hi all..
i have generated public private key pair using com.sshtools.j2ssh.transport.publickey.SshKeyGenerator; which creates two files keys and keys.pub. Does anybody have idea on how to add the public key to the remote machine using j2ssh library.
please guide me through this....
Hi all..
i have generated public private key pair using com.sshtools.j2ssh.transport.publickey.SshKeyGenerator; which creates two files keys and keys.pub. Does anybody have idea on how to add the public key to the remote machine using j2ssh library.
please guide me through this....
13 years ago