Solved

the pre-login handshake

Posted on 2014-03-24
7
9,912 Views
Last Modified: 2014-09-22
I have been getting this same error a few times. All my code does is calling a store procedure and have it returns somedata.  Any thoughts on this error?

System.Data.SqlClient.SqlException (0x80131904): Connection Timeout Expired.  The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement.  This could be because the pre-login handshake failed or the server was unable to respond back in time.  The duration spent while attempting to connect to this server was - [Pre-Login] initialization=16360; handshake=6680;  ---> System.ComponentModel.Win32Exception (0x80004005): The wait operation timed out
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
0
Comment
Question by:VBdotnet2005
  • 3
  • 3
7 Comments
 
LVL 58

Expert Comment

by:Gary
ID: 39950776
Is it just sporadic or all the time?
Is port 1443 open on the servers firewall?
Is IPv6 enabled
0
 

Author Comment

by:VBdotnet2005
ID: 39950788
Is it just sporadic or all the time?   -  this is sporadic
Is port 1443 open on the servers firewall?  - yes
Is IPv6 enabled   - How do I check this?
0
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
ID: 39950822
Start > Control Panel > Network and Sharing Center.
Click Local Area Connection
In the new window click Properties
Check IPv6 is checked
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 

Author Comment

by:VBdotnet2005
ID: 39950863
Yes, it is checked.
0
 
LVL 58

Expert Comment

by:Gary
ID: 39950880
Is there anything else bogging the server down?
Are you running long queries?
Is the DB getting locked?
0
 

Author Comment

by:VBdotnet2005
ID: 39995052
It is ok now. Our admin took care of it.
0
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 40337829
Any chance you can share what the resolution was?
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ASP.NET (VB) return a record 2 38
Name Space error VS2015 1 25
Running powershell scripts from ASP.NET 6 31
Data organization issue 7 16
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question