sql server programming:
I am trying to connect my laptopname,which has various SQL server 2005
databases on it by using Query Analyzer & Mgt. Studio but it gives me an
error as follws:
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)"
but when i am trying to connect my laptopname\instancename ,it works.How
can i connect to laptopname instead of providing instance name ?
Please advice me in this issue.
Wasim