Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • 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: 1324
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic