Trying to export to an sdf file with BCP
Using the following code snippets
And this is what I get back:
SQLState = 08001, NativeError = 2
Error = [Microsoft][SQL Native Client]Named Pipes Provider: Could not open a connection to SQL Server [2].
SQLState = HYT00, NativeError = 0
Error = [Microsoft][SQL Native Client]Login timeout expired
SQLState = 08001, NativeError = 2
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.
NULL
Think this could be a server settings issue?
TIA,
MMund
Using the following code snippets
Code:
set @as_select = 'bcp "select * from ct_rl2cpcs"'
set @as_bcp = @as_select + ' queryout E:\hrsql\Totalhr.430\cpcs\rl2cpcs.txt -T -w -N'
exec master.dbo.xp_cmdshell @as_bcp
And this is what I get back:
SQLState = 08001, NativeError = 2
Error = [Microsoft][SQL Native Client]Named Pipes Provider: Could not open a connection to SQL Server [2].
SQLState = HYT00, NativeError = 0
Error = [Microsoft][SQL Native Client]Login timeout expired
SQLState = 08001, NativeError = 2
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.
NULL
Think this could be a server settings issue?
TIA,
MMund