diff --git a/code/MSSQLDatabase.php b/code/MSSQLDatabase.php index 31608e7..b1f6755 100644 --- a/code/MSSQLDatabase.php +++ b/code/MSSQLDatabase.php @@ -130,6 +130,7 @@ class MSSQLDatabase extends SS_Database { 'UID' => $parameters['username'], 'PWD' => $parameters['password'], 'CharacterSet' => 'UTF-8', + 'MultipleActiveResultSets' => false ); } $this->dbConn = sqlsrv_connect($parameters['server'], $connectionInfo);