[resolved] Microsoft - Driver Manager ODBC - Invalid string or buffer length
Hi, I'm trying to migrate data from MS Access 2010 to MS SQL Server 2014. I get the following exception: 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)
I have read different opinions about it and I have found that if I run the Job in Java Debug mode it works without any problems. Why it happens? Thanks in advance. I don't know if it's the best solution but it works for me. I have simply changed the order of the columns that throws the exception, both in the tMap component and in the SELECT query on the MS Access table component. In any case, it remains a big mystery!