cancel
Showing results for 
Search instead for 
Did you mean: 

JDBC Adapter Error to conect to SQL Server 2005

Former Member
0 Kudos

Hi all.

I´m trying to conect to a SQL Server 2005 database, but facing this error:

UnsupportedClassVersionError: (com/microsoft/sqlserver/jdbc/SQLServerDriver) bad major version at offset=6'

The parameters are:

JDBC Driver: com.microsoft.sqlserver.jdbc.SQLServerDriver

Connection: jdbc:sqlserver://

How can I resolve this issue?

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

your connect string seems to be wrong. try this one:

jdbc:microsoft:sqlserver://192.2.1.3:1433;databaseName=MYDB

Former Member
0 Kudos

Hello.

My problem was solved using the driver JTDS.

JDBC Driver: net.sourceforge.jtds.jdbc.Driver

Connection jdbc:jtds:sqlserver://<db_host>:<db_port>;databaseName=<db_name>

The 1.2 version of Microsoft driver was discontinued.

Thanks.

Answers (1)

Answers (1)

Former Member
0 Kudos

The jdbc driver seems to be incompatible. Use the compatible version from [http://www.microsoft.com/downloads/details.aspx?familyid=99B21B65-E98F-4A61-B811-19912601FDC9&displaylang=en|http://www.microsoft.com/downloads/details.aspx?familyid=99B21B65-E98F-4A61-B811-19912601FDC9&displaylang=en]

Former Member
0 Kudos

I made the download of the driver, added to the aii_af_jmsproviderlib.sda file and redeployed it, but the problem persists.

Any other idea?

Thanks.