Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#148 Failed to load driver SQLServerDriver

open
John Currier
5
2012-03-09
2012-02-14
Face Mann
No

The command:
java -jar schemaSpy_5.0.0.jar -t mssql -host UUPDB -port 1433 -db updb -u facemann -p ******* -o Output -dp sqljdbc.jar
generates the error:
Failed to load driver 'com.microsoft.jdbc.sqlserver.SQLServerDriver'

I am trying to connect to Server 2008. sqljdbc.jar is the latest Microsoft SQL Server JDBC Driver 3.0

Failed to load driver seems like an easy error to overcome but it is besting me.

Discussion

  • Face Mann
    Face Mann
    2012-03-09

    Any help would be appreciated.

     
  • Face Mann
    Face Mann
    2012-03-09

    • labels: --> Runtime failure
    • assigned_to: nobody --> johncurrier
     
  • @as
    @as
    2013-02-07

    try using "-t mssql05" instead

     
  • Suresh Nanjan
    Suresh Nanjan
    2013-02-27

    I too ran into a similar problem however of a different kind. I'm afraid the latest jdbc driver is currently 4.0 not 3. Please download and try it should help.(sqljdbc_4.0.2206.100_enu is the latest and has to be run with -db mssql05 option)