Hola.
Tengo un problemilla con BCP en SQL Server Express 2005: de una parte en la
misma máquina se tiene corriendo SQL SRV 2000 y SQL SRV Express 2005. Por lo
cual, al ejecutar BCP desde la ventana de comandos corre el BCP de SQL SRV
2000. La forma que he encontrado para ejecutar el BCP del 2005, es
posicionando la ventana de comandos en C:\Archivos de programa\Microsoft SQL
Server\90\Tools\Binn.
El comando que ejecuto es para crear un archivo de formato XML:
bcp DataBaseCompras.Facturas format nul -T -c -x -f Facturas_Formato.xml
El error es el siguiente:
=
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 Serv
er 2005, this failure may be caused by the fact that under the default
settings SQL Server does not allow remote connections.
==
He revisado la configuracion desde SQL Server 2005 Surface Area
Configuration, y me he asegurado que Remote Connections esta activado para
Local and remote connections using TCP/IP only.
Alguna idea de la causa del error?
Muchas gracias.
Leer las respuestas