I am trying to connect to database server using sqlserver 2005, but i am getting error as following
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) (.Net SqlClient Data Provider)
I checked all the settings on my machine, it's fine. but i dont know why still i am getting this error.
please help ...