Posts Tagged ‘mssql’
java.lang.ClassNotFoundException: com.microsoft.sqlserver.jdbc.SQLServerDriver
Tuesday, March 23rd, 2010
Had this error come up while building a java app. Common problem when trying to connect to mssql database.
Install the Microsoft SQL Server JDBC Driver and extract it to somewhere useful like C:\Program Files\...
Add the following path to the System variables in your Environment Variables for Windows (My Computer > Properties)
C:\Program Files\Microsoft SQL Server 2005 JDBC Driver\sqljdbc_1.2\enu\sqljdbc.jar
This should work...
If you're using an IDE - you'll need to add the CLASSPATH into the… Continue reading
Full transaction log on MSSQL
Sunday, January 17th, 2010
Had a big problem the other week when one of our databases was throwing heaps of exception email errors on scheduled tasks. After debugging for a few hours I worked out that the transaction log was completely full!
Check out this useful article; http://msdn.microsoft.com/en-us/library/ms175495.aspx
A useful tool is running the following command; backup log with no_log
It's also suggested you do a Maintenance Plan Wizard - http://msdn.microsoft.com/en-us/library/ms189036.aspx
I'll post more in this… Continue reading