aspose file tools*
The moose likes JDBC and the fly likes SQLException: No suitable driver found for jdbc:sqlserver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "SQLException: No suitable driver found for jdbc:sqlserver" Watch "SQLException: No suitable driver found for jdbc:sqlserver" New topic
Author

SQLException: No suitable driver found for jdbc:sqlserver

Geeta Ravikanti
Ranch Hand

Joined: Mar 26, 2008
Posts: 46
I am getting the problem with driver
I am working in Microsoft Sql 2005 server
I used the dirver in my program is "com.microsoft.sqlserver.jdbc.SQLServerDriver"
And i added jar file(sqljdbc.jar) realted to that in current working directory
I build the path also
but when i am going to execute my program this exception is coming

SQLException: No suitable driver found for jdbc:sqlserver

How can I solve it
Can any one help in this
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1321

have a look inside JDBC FAQs to find the free availabe drivers for Microsoft SQLServer 2005.


Saifuddin..
[Blog][Linkedin] How To Ask Questions On JavaRanch My OpenSource
 
Consider Paul's rocket mass heater.
 
subject: SQLException: No suitable driver found for jdbc:sqlserver