This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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 Java 8 in Action this week in the Java 8 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
Finding out the correct URL
Java and SQLSERVER2008 connectivity
Help! I am new here
re: learning JDBC programming
SQLException: No suitable driver found for jdbc:mysql://localhost:3306/ SQLState: 08001 VendorError: