Warning: odbc_connect() [function.odbc-connect]: SQL error: [Microsoft][SQL Native Client]Named Pipes Provider: Could not open a connection to SQL Server [5]. , SQL state 08001 in SQLConnect in C:\inetpub\wwwroot\bitrix\modules\main\classes\mssql\database.php on line 91

Error! odbc_connect('-', '-', '-')
#08001 [Microsoft][SQL Native Client]Named Pipes Provider: Could not open a connection to SQL Server [5].

Warning: odbc_autocommit(): supplied argument is not a valid ODBC-Link resource in C:\inetpub\wwwroot\bitrix\modules\main\classes\mssql\database.php on line 43

Warning: odbc_commit(): supplied argument is not a valid ODBC-Link resource in C:\inetpub\wwwroot\bitrix\modules\main\classes\mssql\database.php on line 49

Warning: odbc_autocommit(): supplied argument is not a valid ODBC-Link resource in C:\inetpub\wwwroot\bitrix\modules\main\classes\mssql\database.php on line 50

MSSQL Query Error:
SELECT DATEDIFF(s, GETDATE(), MIN(NEXT_EXEC)) DATE_DIFF FROM b_agent WHERE ACTIVE='Y'
#08001 [Microsoft][SQL Native Client]Named Pipes Provider: Could not open a connection to SQL Server [5].

DB query error.
Please try later.