I try to get iReport 2.0.4 connected to my database resulting in a ClassNotFound exception. So I downloaded the MS JDBC drivers 4.1 and 4.0 for SQL server. (http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=11774)
I added the jdb jar file to the iReport Classpath:

I restarted iReport and tried to connect to the db again:
File > Report Wizard > Database JDBC connection > Next >
JDBC Driver (com.microsoft.jdbc.sqlserver.SQLServerDriver) JDBC URL: jdbc:microsoft:sqlserver://(myIP):1433;DatabaseName=MYDATABASE
I am getting the same exception.

Could anyone please point me what I am doing wrong?


com.microsoft.sqlserver.jdbc.SQLServerDriver(notice the order of elements:sqlserverbeforejdbc). - Mark Rotteveel