wood burning stoves 2.0*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SQLException: No suitable driver found for jdbc:sqlserver
 
Similar Threads
SQLException: No suitable driver found for jdbc:mysql://localhost:3306/ SQLState: 08001 VendorError:
re: learning JDBC programming
Help! I am new here
Java and SQLSERVER2008 connectivity
Finding out the correct URL