Search This Blog

Named Pipes Provider, error: 40 - Could not open a connection to SQL Server


TITLE: Connect to Server
------------------------------
Cannot connect to 192.168.20.30.
------------------------------
ADDITIONAL INFORMATION:
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 53)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&EvtSrc=MSSQLServer&EvtID=53&LinkId=20476
------------------------------
The network path was not found
------------------------------
BUTTONS:
OK
------------------------------


Solution
======

1. Check port is opened or not.

> Telnet 192.168.20.30 1433
                IP                Port
2. Sql Server Configuration


Go to  TCP/IP properties , check for the  TCP PORT set to1433 in IPALL section.



3. Check port is allowed in Firewall, else add port in inbound rule.

No comments:

Post a Comment

Launch your Online Business with a $5.99 .COM!