0

I upgraded my JDK from 1.5.0 to 1.6.0 and then i got this when i try to connect MS SQL through ODBC driver:

java.sql.SQLException: [Microsoft][ODBC Driver Manager] Invalid string or buffer length.

Any ideas on this. Thanks in advance.

Paolo Stefan
  • 10,112
  • 5
  • 45
  • 64
user1587872
  • 345
  • 1
  • 3
  • 14
  • Paste your database connection string – guisantogui Sep 05 '13 at 12:55
  • Provider=mondrian;Jdbc=jdbc:odbc:DSN;JdbcUser=sa;JdbcPassword=password12*;JdbcDrivers=sun.jdbc.odbc.JdbcOdbcDriver;Catalog=jndi:/localhost/DwMondrianWeb/WEB-INF/queries/Loans-AssetQuality.xml; – user1587872 Sep 05 '13 at 12:56

0 Answers0