January 22, 2011 at 10:24 pm
Hi i am getting the below error pls help
"OLE DB provider "SQLNCLI" for linked server "Servertest" returned message "Login timeout expired".
OLE DB provider "SQLNCLI" for linked server "Servertest" returned message "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.".
Msg 5, Level 16, State 1, Line 0
Named Pipes Provider: Could not open a connection to SQL Server [5]".
NEVER NEVER EVER GIVE UP;-)
January 24, 2011 at 1:22 am
What are you doing when you get this error?
January 24, 2011 at 10:48 am
Have you verified what the error message is telling you? - 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.".
Msg 5, Level 16, State 1, Line 0
Named Pipes Provider: Could not open a connection to SQL Server [5]".
Under the SQL Server Properties | Connections | Is "Allow remote connections to this server" checked? If so, what is the "Remote query timeout" set to an extremely low time? Sometimes it is best to set it to zero.
Also, is "Named Pipes" enabled as a connection type?
Chris Powell
George: You're kidding.
Elroy: Nope.
George: Then lie to me and say you're kidding.
January 24, 2011 at 11:39 pm
i am executing the daily scripts
and the main thing is that if i run the scripts after 5 minutes it works.
But the next day i am getting the same error again and some times the error doesn't come and everthing works smoothly
OLE DB provider "SQLNCLI" for linked server "ServerTest" returned message "Login timeout expired".
OLE DB provider "SQLNCLI" for linked server "ServerTest" returned message "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.".
Msg 5, Level 16, State 1, Line 0
Named Pipes Provider: Could not open a connection to SQL Server [5].
NEVER NEVER EVER GIVE UP;-)
January 26, 2011 at 5:46 am
try adding the sql port to your linked server connection.
June 21, 2011 at 5:24 am
even after setting remote connection to 0, im getting same error
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply