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

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

    I struggled for ages on this one before I realized my error - I had used commas instead of semicolons in the connect string

提交回复
热议问题