Error connecting to SQL Server 2005

Ask a question


I have installed SQL Server 2005 and I can not connect to it, I dont know my server name and SQL Server show this error to me:
TITLE: Connect to Server

Cannot connect to home sql express.


An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 1231)

For help, click:


There following possibilities.

1. Your SQl Browser is off
2. Protocols under SQLServer Configuration Manager > SQL Server 2005 Network Configuration > Protocols for SQL Express like TCP/IP, Named Pipes are disabled.

  • Just Start SQL Browser.
  • Enable the Protocols.
  • Restart SQL Express service.

This might resolve the problem


Thanks to ABrightWorker for this tip on the forum.

SQL - Avoid duplicates in the result of a SELECT query
SQL - Avoid duplicates in the result of a SELECT query