changes to fix problems with CF9 and MSSQL 2008