title: Error: java.sql.SQLException: No suitable driver found for jdbc:sqlserver
body: <p>I have a wowza server (built with Java) and need it to save logs to a SQL Server 2005 Database. I downloaded the <strong>sqljdbc4.jar</strong> jar file from Microsoft and placed it in <strong>C:\Program Files\Java\jre6\lib\ext</strong>. I also added the classpath to a windows variable, but am getting this error:</p>
  
  <p><strong>java.sql.SQLException: No suitable driver found for jdbc:sqlserver</strong></p>
  
  <p>These are the wowza configuration settings for SQL server:</p>
  
  <pre><code>log4j.appender.SQ=org.apache.log4j.jdbc.JDBCAppender
  log4j.appender.SQ.Driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
  log4j.appender.SQ.URL=jdbc:sqlserver:\\Myserver;databaseName=WowzaLog
  log4j.appender.SQ.user=sa
  log4j.appender.SQ.password=123
  log4j.appender.SQ.layout=com.wowza.wms.logging.ECLFPatternLayout
  log4j.appender.SQ.layout.OutputHeader=false
  log4j.appender.SQ.sql=my insert SQL
  </code></pre>
  
  <p>It's not a wowza problem. It's something related to JAVA but I'm not a Java expert.</p>
  
  <p>Thanks</p>