Running SQL Server 2005 Developer edition, I'm trying to do a backup of selected tables using Bulk Copy Program, but keep getting an error:
I'm using trusted connection, and the SQL Server is local. The surface area configuration allows for both named pipes/TCP IP and local/remote connection.
This is the command I tried to pass:
I am positively sure I'm just missing something blindingly obvious but what could it be?
Code:
SQLState = 08001, NativeError = 67
Error = [Microsoft][SQL Native Client]Named Pipes Provider: Could not open a
connection to SQL Server [67].
SQLState = HYT00, NativeError = 0
Error = [Microsoft][SQL Native Client]Login timeout expired
SQLState = 08001, NativeError = 67
Error = [Microsoft][SQL Native Client]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.
I'm using trusted connection, and the SQL Server is local. The surface area configuration allows for both named pipes/TCP IP and local/remote connection.
This is the command I tried to pass:
bcp.exe "foo.dbo.bar" out foo.txt -S WIN-<serial number> -T
I am positively sure I'm just missing something blindingly obvious but what could it be?