Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 no suitable driver

Author  Topic 

AndiArt
Starting Member

1 Post

Posted - 2008-05-13 : 07:52:54
Hello,
I use the newest jdbc driver to access a 2005 server database from within java. the driver I register in the fashion of class.forname("com.microsoft.sqlserver.jdbc.SQLServerDriver"). it worked all fine with 2000 Server but fails on 2005 with the message "no suitable driver", when trying to make a select statement. I also removed the msbase.jar, mssqlserver.jar and msutils.jar from my classpath, because I think that they are for the 2000 Server.
   

- Advertisement -