# SQLServer UnsupportedClassVersionError

**URL:** <https://forum.inductiveautomation.com/t/sqlserver-unsupportedclassversionerror/60073>\
**Category:** Ignition\
**Created:** [May 26, 2022, 2:49pm UTC](https://forum.inductiveautomation.com/t/sqlserver-unsupportedclassversionerror/60073 "2022-05-26T14:49:04Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sachin\_Kale](https://avatars.discourse-cdn.com/v4/letter/s/f1d935/32.png) [@Sachin\_Kale](https://forum.inductiveautomation.com/u/Sachin_Kale)\
**Post date:** [May 26, 2022, 2:49pm UTC](https://forum.inductiveautomation.com/t/sqlserver-unsupportedclassversionerror/60073/1 "2022-05-26T14:49:04Z")

</div>

Hi, I am facing same issue for Microsoft SQL server but to upgrade or downgrade driver, I am unable to open driver tab, when i click on driver it is showing below error  
**"java.lang.UnsupportedClassVersionError: com/microsoft/sqlserver/jdbc/SQLServerDriver has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0"**

Please suggest Solution.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [May 26, 2022, 3:01pm UTC](https://forum.inductiveautomation.com/t/sqlserver-unsupportedclassversionerror/60073/2 "2022-05-26T15:01:51Z")

</div>

You have to select a version of the JDBC driver that works with your JRE.

See this topic:

> [@SQL Server Connection Faulted](https://forum.inductiveautomation.com/t/sql-server-connection-faulted/46393/9):
>
> You might need to downgrade. The case I encountered was a SQL Server 2008, which isn’t supported past driver 6.2. See this compatibility chart: I think with the correct driver, I didn’t need the extra connection properties, just the java.security changes. YMMV, of course.

Also, running an old and unsupported Ignition version means you sometimes cannot upgrade associated components, like the DB you are using. ~~The OP in this very old topic was using v7.5. You don't say what version you are using, but I suspect you should have started a new topic and provided more information.~~ _Thanks, Kevin_

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [May 26, 2022, 3:06pm UTC](https://forum.inductiveautomation.com/t/sqlserver-unsupportedclassversionerror/60073/3 "2022-05-26T15:06:11Z")

</div>

This error means you are using a SQL Server JDBC driver compiled for a much newer version of Java than you are currently running.

What version of Ignition are you using?

---

<div class="post-metadata">

**Author:** ![Sachin\_Kale](https://avatars.discourse-cdn.com/v4/letter/s/f1d935/32.png) [@Sachin\_Kale](https://forum.inductiveautomation.com/u/Sachin_Kale)\
**Post date:** [May 26, 2022, 3:10pm UTC](https://forum.inductiveautomation.com/t/sqlserver-unsupportedclassversionerror/60073/4 "2022-05-26T15:10:17Z")

</div>

Ignition 8.0.15

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [May 26, 2022, 3:15pm UTC](https://forum.inductiveautomation.com/t/sqlserver-unsupportedclassversionerror/60073/5 "2022-05-26T15:15:11Z")

</div>

If you can’t get to the JDBC page to fix this then stop the gateway, delete the JDBC driver jar file from `$IGNITION/user-lib/jdbc`, then start the Ignition Gateway again.

From this point you should be able to install a new JDBC driver, but make sure you pick a version compatible with JDK 11.

> **[Support matrix - JDBC Driver for SQL Server](https://docs.microsoft.com/en-us/sql/connect/jdbc/microsoft-jdbc-driver-for-sql-server-support-matrix?view=sql-server-ver16)**
>
> This page contains the support matrix and support life-cycle policy for the Microsoft JDBC Driver for SQL Server.

---

<div class="post-metadata">

**Author:** ![Sachin\_Kale](https://avatars.discourse-cdn.com/v4/letter/s/f1d935/32.png) [@Sachin\_Kale](https://forum.inductiveautomation.com/u/Sachin_Kale)\
**Post date:** [May 26, 2022, 4:12pm UTC](https://forum.inductiveautomation.com/t/sqlserver-unsupportedclassversionerror/60073/6 "2022-05-26T16:12:54Z")

</div>

Gateway is running on Remote Server so how can i Start and stop the gateway.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [May 26, 2022, 4:13pm UTC](https://forum.inductiveautomation.com/t/sqlserver-unsupportedclassversionerror/60073/7 "2022-05-26T16:13:59Z")

</div>

You need physical access or remote access via shell or RDP session.

---

<div class="post-metadata">

**Author:** ![Sachin\_Kale](https://avatars.discourse-cdn.com/v4/letter/s/f1d935/32.png) [@Sachin\_Kale](https://forum.inductiveautomation.com/u/Sachin_Kale)\
**Post date:** [May 26, 2022, 4:14pm UTC](https://forum.inductiveautomation.com/t/sqlserver-unsupportedclassversionerror/60073/8 "2022-05-26T16:14:59Z")

</div>

OK, Thanks.
