Hello I am facing while connecting to SQL Server 2012 Express like
"A Network-related or instance-specific error occured while establishing a connection to SQL Server. The server was not found or was not accessible.Verfy the instance name is correct and the SQL Server is configured to allow remote connection. (provider: Named Pipes provider:40-could not open a connection to SQL Server) (Microsoft SQL Server, Error:53) ".
How to resolve it ?
Khan Abrar AhmedPosted Jun 15, 2015, 3:14 AM
D DasawariPosted Jun 15, 2015, 6:16 AM
D DasawariPosted Jun 15, 2015, 5:51 AM
Rajeesh MenothPosted Jun 15, 2015, 4:10 AM
D DasawariPosted Jun 15, 2015, 3:23 AM
Manoj BhoirPosted Jun 15, 2015, 3:19 AM
Then Run these if Those Do not Resolve
- Right-click on TCP/IP and select Properties.
- Verify that, under IP2, the IP Address is set to the computer's IP address on the local subnet.
- Scroll down to IPAll.
- Make sure that TCP Dynamic Ports is blank.
- Make sure that TCP Port is set to 1433.
- If you have a named instance then you must have the SQL Server Browser Service enabled
- The browser service runs on port UDP 1434 and this must be allowed through your firewall
If this is Still not ResolvedGo to the client machine, and run cliconfg.exe If named pipes is listed first, demote it, and promote TCP/IP.
check if the firewall is blocking the named pipes port, which usually is 445
https://social.technet.microsoft.com/wiki/contents/articles/2102.how-to-troubleshoot-connecting-to-the-sql-server-database-engine.aspx
http://blog.sqlauthority.com/2009/05/21/sql-server-fix-error-provider-named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server-microsoft-sql-server-error/
http://blogs.msdn.com/b/walzenbach/archive/2010/04/14/how-to-enable-remote-connections-in-sql-server-2008.aspx
Enable remote connections for SQL Server Express 2012