Forum Discussion

SBasu's avatar
SBasu
New Contributor
15 years ago

Trying to connect SQL Server 2008 Database from Data Source

I was trying to connect SQL Server 2008 Database through Data Source test request. Bust showing following error during connection…

Can't get the Connection for specified properties; com.microsoft.sqlserver.jdbc.SQLServerException: The server version is not supported. The target server must be SQL Server 2000 or later.

Please send the way to connect sql server 2008 databse or SQL Server 2008 DB is not supported by version soapUI Pro 3.5.1 Build dist-97-2010-04-12, Build Date 2010/04/12 09:5
  • SBasu's avatar
    SBasu
    New Contributor
    Error I'm getting in error log:

    Wed Aug 18 19:10:52 IST 2010:ERROR:java.sql.SQLException: No suitable driver
    java.sql.SQLException: No suitable driver
    at java.sql.DriverManager.getDriver(Unknown Source)
    at com.eviware.soapui.support.jdbc.JdbcUtils.initConnection(JdbcUtils.java:48)
    at com.eviware.soapui.impl.wsdl.support.connections.DatabaseConnectionWizard$TestConnectionAction.actionPerformed(SourceFile:323)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.Dialog$1.run(Unknown Source)
    at java.awt.Dialog$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Dialog.show(Unknown Source)
    at java.awt.Component.show(Unknown Source)
    at java.awt.Component.setVisible(Unknown Source)
    at java.awt.Window.setVisible(Unknown Source)
    at java.awt.Dialog.setVisible(Unknown Source)
    at com.eviware.soapui.impl.wsdl.actions.project.SimpleDialog.setVisible(SimpleDialog.java:103)
    at com.eviware.soapui.impl.wsdl.support.connections.DatabaseConnectionWizard.configure(SourceFile:342)
    at com.eviware.soapui.impl.wsdl.support.connections.DatabaseConnection.configureConnectionDetalis(SourceFile:136)
    at com.eviware.soapui.impl.wsdl.support.connections.DefaultDatabaseConnectionContainer.configureDatabaseConnection(SourceFile:183)
    at com.eviware.soapui.impl.wsdl.teststeps.datasource.JDBCConnectionDataSource$ConfigureDataConnectionAction.actionPerformed(SourceFile:517)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
  • Hello,

    Wed Aug 18 19:10:52 IST 2010:ERROR:java.sql.SQLException: No suitable driver
    java.sql.SQLException: No suitable driver
    at java.sql.DriverManager.getDriver(Unknown Source


    this means you did not set a proper driver. Check path you set to your DB driver ( you can see it when open DataSource test step in field Driver ).
    Let me know does this helps,
    robert
  • SBasu's avatar
    SBasu
    New Contributor
    I'm Using MSSQL(MicrosoftDriver)/com.microsoft.sqlserver.jdbc.sqlserverdriver.

    the new error i'm getting is...

    java.lang.UnsupportedOperationException: Java Runtime Environment (JRE) version 1.6 is not supported by this driver. Use the sqljdbc4.jar class library, which provides support for JDBC 4.0.

    I have downloaded sqljdbc4.jar and copied this .jar file to C:\Program Files\eviware\soapUI-Pro-3.5.1\jre\lib\ext folder...but still getting the error...

    Please help me to solve this problem asap...i have bought this product but with out this option we are not able to go further....
  • Hello,

    put jar in C:\Program Files\eviware\soapUI-Pro-3.5.1\bin\ext\ folder. When it is picked by soapUI Pro you should see a message in soapUI Log tab that it is added to classpath.

    Let me know does this helps,
    robert