How do I fix the error 'Named Pipes Provider, error 40 - Could not open a connection to' SQL Server'?

前端 未结 30 2997
借酒劲吻你
借酒劲吻你 2020-11-22 08:27

I can\'t seem to connect to my database from a site. I get this error:

Named Pipes Provider, error: 40 - Could not open a connection to SQL Server

30条回答
  •  一整个雨季
    2020-11-22 09:12

    I had the same problem. I use the MSSQL Server Management Studio 2017 and solved this problem using these steps:

    1. Check for working fine SQL Server Services services or not.
    2. Also check for working in good condition SQL Server (MSSQLSERVER).
    3. Also check for working fine SQL Server Browser.
    4. Restart SQL Server (MSSQLSERVER)

    and fixed it.

提交回复
热议问题