Fixed an error in the MSSQL database server.