Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

error: 40 - No se puedo abrir una conexión con SQL Server

8,321 views
Skip to first unread message

Francisco

unread,
Sep 28, 2007, 7:06:01 AM9/28/07
to
Hola, estoy trabajando con un programita en visual studio 2005 el cual se
conecta a una base de datos sql server. El problema está en que cuando queiro
conectar con la base de datos de forma remota me sale el siguiente mesnsaje:

"Error mientras se establecía la conexión con el servidor. Al conectar con
SQL Server 2005, el error pse puede producir porque la configuración
predeterminada de SQL Server no admite conexiones romotas. [provider:
Proveedor de canalizaciones con nombre, error 40 - No se puedo abrir una
conexion SQL Server]."

Debo decir que tengo activadas las conexiones remotas de SQL Server, y que
los protocolos TCP/IP están activados.

A ver si alguien sabe como puedo resolver esto, gracias a todos de antemano.

Eduardo Castro

unread,
Sep 30, 2007, 10:15:00 AM9/30/07
to
Puede ser que SQL Server no este ejecutando el puerto predeterminado de
1433, puede revisarlo en el configuration manager en la parte de protocolos.

--
Saludos,

Eduardo Castro - MVP
http://ecastrom.blogspot.com


"Francisco" <Fran...@discussions.microsoft.com> wrote in message
news:C40AF606-E008-436C...@microsoft.com...

Francisco

unread,
Oct 1, 2007, 12:20:01 PM10/1/07
to
Gracias por contestar Eduardo, he comprobado lo que me dices, y sí, está
ejecutando el puerto 1433.

Se te ocurre algo mas?

Gracias.

Salvador Ramos

unread,
Oct 1, 2007, 4:14:58 PM10/1/07
to
Hola,

Haz un telnet a ese servidor y ese puerto a ver si te deja, para descartar
problemas de red.

--
Un saludo
Salvador Ramos
---------------------------------------------------
www.helpdna.net (información sobre SQL Server y Microsoft .Net)
www.helpdna.net/acerca_de_salvador_ramos.htm
---------------------------------------------------

"Francisco" <Fran...@discussions.microsoft.com> escribió en el mensaje
news:30D4BF20-34ED-4D45...@microsoft.com...

Jorge Alvarado

unread,
Dec 29, 2007, 2:12:03 PM12/29/07
to
Prueba instalando el ultimo SP del Windows 3000 server, sin el SP del SO no
se abren las comunicciones

"Salvador Ramos" <webmaster...@YEstoHelpdna.net> escribió en el
mensaje news:eh9HbeGB...@TK2MSFTNGP02.phx.gbl...

Edu Alcañiz

unread,
Jan 8, 2008, 5:16:25 AM1/8/08
to
Si has instalado el service pack 2 de Windows 2k3, mira esto:

Step 3: Disable Receive Side Scaling
Disable Receive Side Scaling on the server. To do this, use one of the
following methods:
Method 1: Modify the network adapter properties to disable Receive Side
Scaling
1. Click Start, click Run, type ncpa.cpl, and then click OK.
2. Right-click a network adapter object, and then click Properties.
3. Click Configure, and then click the Advanced tab.
4. In the Property list, click Receive Side Scaling, click Disable in
the Value list, and then click OK.
5. Repeat steps 2 through 4 for each network adapter object.

Method 2: Modify the registry to disable Receive Side Scaling
1. Click Start, click Run, type regedit, and then click OK.
2. Locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
3. If the EnableRSS registry entry does not exist, create it. To do
this, follow these steps:a. On the Edit menu, point to New, and then click
DWORD Value.
b. In the New Value #1 box, type EnableRSS, and then press
ENTER.

4. Right-click EnableRSS, and then click Modify.
5. In the Value data box, type 0 (zero), and then click OK.
6. Exit Registry Editor.

Back to the top

Step 4: Disable offloading support
1. Click Start, click Run, type regedit, and then click OK.
2. Locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
3. In the details pane, right-click EnableTCPA, and then click Modify.

Note If the EnableTCPA registry entry does not exist, create it. To do
this, follow these steps:a. On the Edit menu, point to New, and then click
DWORD Value.
b. In the New Value #1 box, type EnableTCPA, and then press
ENTER.

4. In the Value data box, type 0 (zero), and then click OK.
5. Exit Registry Editor.
6. Restart the computer.


--

Un Saludo
Edu Alcañiz

Este mensaje se proporciona "como está" sin garantías de ninguna clase, y no
otorga ningún derecho.


"Jorge Alvarado" <jalv...@superexito.com.ec> wrote in message
news:uzsDh7kS...@TK2MSFTNGP03.phx.gbl...

uparrow.gif

Edu Alcañiz

unread,
Jan 8, 2008, 5:24:46 AM1/8/08
to
Otra cosa mira en la configuracion de Area Surface y mira en conexiones si
tienes activado TCP and Name Pipes

--

Un Saludo
Edu Alcañiz

Este mensaje se proporciona "como está" sin garantías de ninguna clase, y no
otorga ningún derecho.


"Jorge Alvarado" <jalv...@superexito.com.ec> wrote in message
news:uzsDh7kS...@TK2MSFTNGP03.phx.gbl...

0 new messages