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

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

    Solving this problem is very easy:

    1. Go to control panel.
    2. search for services.
    3. Open Local services window from your search results
    4. Restart your MSSQLSERVER service.

    Screenshot of the steps:

    Screenshot of the steps

提交回复
热议问题