I type sqlcmd but get the below error:
HResult 0x7E, Level 16, State 1
VIA Provider: The specified module could not be found.
Sqlcmd: Error: Microsoft SQL Native Client : An error has occurred while establi
shing a connection to the server. When connecting to SQL Server 2005, this failu
re may be caused by the fact that under the default settings SQL Server does not
allow remote connections..
Sqlcmd: Error: Microsoft SQL Native Client : Login timeout expired.
What I already did are:
1) enable remote connection on TCP/IP and pipes on surface area configuration
2) change the pipe name to \\.\pipe\sql\query
3) off firewall