I am not sure how to go about adding jTDS support to my reportserver, the link you provided is not working.
Please assist with another link. I have already downloaded the driver “jtds-1.3.1.jar” and copied it to folder “C:\Program Files\Apache Software Foundation\Tomcat 8.5_Tomcat80\webapps\ROOT\WEB-INF\lib”.
Hi everybody,
is it still possibile to use this script in ReportServer v4.5?
I need to connect to a very old MSSQL database instance and this driver is required instead of the official microsoft drivers.
I’ve tried the groovy script but something goes wrong…
net.datenwerke.rs.adminutils.client.datasourcetester.ConnectionTestFailedException: AbstractMethodError:
net.datenwerke.rs.adminutils.service.datasourcetester.DatasourceTesterServiceImpl.testConnection(DatasourceTesterServiceImpl.java:59) at net.datenwerke.rs.adminutils.server.datasourcetester.DatasourceTesterRPCServiceImpl.testConnection(DatasourceTesterRPCServiceImpl.java:52) …
As I can see the latest version of jtds driver is 1.3.1 which is quite old (2013). According to documentation “jTDS is 100% JDBC 3.0 compatible” but ReportServer v4.5 use jdbc 4.0. Maybe they are no longer compatible.
But maybe your datasource works without testing it, so without using the “test” button to test it, can you pls check this ?
Just open the dynamic list and suppose it works Of course you have to make sure your jdbc URL/user etc are correct, as the “test” button doesn’t work.
I removed method “createDummyQuery()” from the script and I confirm that “test” button still doesn’t work, but a simple dynamic list report (with a simple query inside) works nicely.
So, it’s just a matter of correcting the testing function.
Hi Eduardo,
is there any plan to add support for jtds-1.3.1.jar driver (Legacy SQL Server / Sybase databases) natively in ReportServer?
I’m using it in my ReportServer v4.5 installation and it works nicely.
I don’t see any reason why this should not be supported, so yes, I raised ticket RS-7438.
You are using the script above, correct? and it works fine (apart from the “test datasource”) for exactly which products ? What MSSQL and what Sybase versions exactly are you using with the script above?
pls note that native support for old MSSQL installations (with the jTDS driver) will be added in RS 4.7.0. You will still have to download the driver, but you don’t need a script for this.