ahamdaoui Posted April 24, 2013 Share Posted April 24, 2013 I created a connection between ireport and the database wish data source located in Microsoft SQL Server 2008 and the connection 's successful the JDBC Driver I use is sqljdbc4.jar , I put the the JDBC driver here : c:program filesjasperserver-pro-3.5.1apache-tomcatwebappsjasperserver-proWEB-INFlibI tried also with sqljdbc.jarThe JDBC URL :JBDC Driver: com.microsoft.jdbc.sqlserver.SQLServerDriver JDBC URL: jdbc.microsoft.sqlserver://localhost:1433;DatabaseName=dbname; However, when using Jasper server the connection fails Pls help. Link to comment Share on other sites More sharing options...
Ankur Gupta Posted May 9, 2013 Share Posted May 9, 2013 Hi, The problem here is that the path where you placed the jar file is wrong it should be - "c:program filesjasperserver-pro-3.5.1apache-tomcatlib"Under this directory place the sqljdbc driver and it will work absolutely fine.Regards,Ankur Link to comment Share on other sites More sharing options...
ahamdaoui Posted May 13, 2013 Author Share Posted May 13, 2013 Thanks a lot Ankur.regards,Asma Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now