please clear this error.in sql server 2005
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)

Anupam SinghPosted May 5, 2014, 1:50 AM
like :
1. Services of SQL server are not running .
2. Port of SQL Server is not open.
3. Remote connection not allowed in SQL Server.
you have to check all these..
Ranjit PowarPosted May 5, 2014, 1:48 AM