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
If you are working with Asp.net core and using appsettings.json than write server as localhost and after write sql instance name for enabled named pipe like this
"ConnectionString": { "dewDB": "server=localhost\\dewelopersql;database=dewdb;User ID=sa;password=XXXXX", },