SAP Knowledge Base Article - Preview

3810967 - SQL error 10054 TCP Provider: Error code 0x2746 when connecting to external Microsoft SQL Server (TLS/cipher mismatch)

Symptom

You set up ABAP 'DBCON' connection to an external Microsoft SQL Server database

or

You execute SOLMAN_SETUP wizard, in SAP Solution Manager, to set up the monitoring environment for an SAP system based on Microsoft SQL Server 'Enterprise Edition'.

  • Database connection fails with “SQL error 10054 TCP Provider: Error code 0x2746”
  • ODBC/DBSL traces show “[08001] Client unable to establish connection” and “sql error 10054 performing CON”
  • Additional errors observed: SQL ERROR 10061, ERROR 0, ERROR -1, TCP error, TCP Provider: Error code 0x2746, TCP Provider: Error code 0x2AFA
  • Windows Event Viewer on the SQL Server host logs: “A TLS 1.2 connection request was received… none of the cipher suites supported by the client are supported by the server. The SSL connection request has failed.”
  • Windows SChannel messages such as “fatal alert code 40” and “Windows SChannel error state is 1205”


Read more...

Environment

  • Product: SAP NetWeaver products (EHPx for SAP ERP 6.0) 
  • Microsoft SQL Server "Enterprise Edition" in SAP NetWeaver products (EHPx for SAP ERP 6.0) 

Product

SAP ERP all versions

Keywords

SQL error 10054, TCP Provider 0x2746, 0x2AFA, 08001, SChannel 1205, fatal alert 40, TLS 1.2, cipher suite mismatch, ODBC Driver 17, sqlcmd, Linux to SQL Server, named instance syntax, DBACOCKPIT, DBCON, Solution Manager MSSQL connection , KBA , BC-DB-MSS , SQL Server in SAP NetWeaver Products , BW-SYS-DB-MSS , BW on Microsoft SQL Server , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.