Team,
While trying to connect to SSMS the following is the error message and not allowing to connect to SQL Server.
TITLE: Connect to Server
------------------------------
Cannot connect to My_Win_2012_Server.
------------------------------
ADDITIONAL INFORMATION:
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=5006; handshake=9993; (Microsoft SQL Server, Error: -2)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&EvtSrc=MSSQLServer&EvtID=-2&LinkId=20476
------------------------------
The wait operation timed out
------------------------------
BUTTONS:
OK
------------------------------
I referred the following link saying that Enabling TCP/IP for both IP versions IPv4 and IPv6 on the server.
http://stackoverflow.com/questions/15488922/connection-to-sql-server-works-sometimes
Note: On the help page it has been mentioned to check the firewall setting. In our server a rule has been defined to exempt sql server from firewall.
Kindly suggest to get rid of this issue. Thanks in advance.