I developed a SQLCMD batch file that I run on a sql 2005 server . On the
single server copy of 2005 it works fine.
SQLCMD -U loginame -P ourpassword -i c:\IMMUNIZATION\Immune_Dump.sql -o
c:\IMMUNIZATION\DEM_DUMP.TXT -h -1 -Y 57
When I transferred it to a 2 server cluster of sql server 2005 I get the
following error.
HResult 0x2, Level 16, State 1
Named Pipes Provider: Could not open a connection to SQL Server [2].
Sqlcmd: 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..
Sqlcmd: Error: Microsoft SQL Native Client : Login timeout expired.
I went through many of the steps for this error and they all seem to be
already set (ie tcp, named pipes etc...) - no luck
Any ideas?
thanks
Brian
*** Sent via Developersdex
http://www.developersdex.com ***