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

前端 未结 30 3171
借酒劲吻你
借酒劲吻你 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:25

    I have suggested below steps to resolve your issue How do I fix the error 'Named Pipes Provider, error 40 - Could not open a connection to' SQL Server'

    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. Delete all earlier Aliases, now create new aliases as per your requirements.
    5. Now check for working of SQL Server Default Port 1433
    6. Next click on Client Protocols in instance, then click on TCP/IP, now click on mouse right click, open the Property, here you can make assure your working fine your default port SQL 1433.
    7. Open your SQL Server Management Studio, then right click, click on "Property" option and then click on Connections tab, then finally tick for Allow remote Connections to this server.
    8. Check for right working or your Ping IP Host.

提交回复
热议问题