• Post Reply Bookmark Topic Watch Topic
  • New Topic

SQLException: No suitable driver found for jdbc:sqlserver

 
Geeta Ravikanti
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1325
Android Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
have a look inside JDBC FAQs to find the free availabe drivers for Microsoft SQLServer 2005.
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!