07-31-2023, 06:39 AM
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
I tried using the local IP address to connect as well as a public one. I've tried:
1. Yes, the site can communicate with the server
2. Named pipes/TCP is enabled.
3. Remote connections are allowed.
4. [Windows Firewall][1] is off
5. Created an exception for port 1433 in Windows Firewall.
6. Enabled everything in SQL Server Configuration Manager.
What else can I do here?
[1]:
> Named Pipes Provider, error: 40 - Could not open a connection to SQL Server
I tried using the local IP address to connect as well as a public one. I've tried:
1. Yes, the site can communicate with the server
2. Named pipes/TCP is enabled.
3. Remote connections are allowed.
4. [Windows Firewall][1] is off
5. Created an exception for port 1433 in Windows Firewall.
6. Enabled everything in SQL Server Configuration Manager.
What else can I do here?
[1]:
[To see links please register here]