on 09-02-2011 2:32 AM
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.
your connect string seems to be wrong. try this one:
jdbc:microsoft:sqlserver://192.2.1.3:1433;databaseName=MYDB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.