Click here to Skip to main content
15,906,463 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hello,
"
Connection timeout period has expired. When trying to use the pre-login handshake confirmed that exceeds this timeout. This may be because the pre-login handshake fails or the server failed to respond. Try to connect to the server when the duration is spent - [Pre-Login] initialization = 0; handshake = 14997;
"
Posted
Comments
CHill60 29-Apr-14 8:33am    
How are you trying to connect?
H_Zihuatanejo 29-Apr-14 8:38am    
C# VS2008
RahulMGunjal 29-Apr-14 9:00am    
Share code snippet for better understanding
H_Zihuatanejo 30-Apr-14 5:14am    
Thanks.

1 solution

You can adjust the timeout property on the C# connection object reference here[^]

Here is an article about alternate methods of doing that catering for other circumstances controlling timeouts[^]

And just in case it's something more severe have a look at this guys blogs ...e.g. http://blog.sqlauthority.com/2007/04/23/sql-server-fix-error-40-could-not-open-a-connection-to-sql-server/[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900