I’m
an experienced.NET / SQL developer. Recently I’ve upgraded from my old 32 bit PC with Win 7 Enterprise SP1 to a new 64 bit one Win 10 Pro 15/11. Now, the old Win 7 I’m running in Hyper-V on the new PC.
My old Win 7 always was & still is well connecting to a remote SQL Server 2012 over a fast LAN-to-LAN VPN. But my new Win 10 client makes troubles when I try to connect to SQL
Server using SSMS or our .NET applications:
- SQL Server Authentication works perfectly - within some tenths of a second
- Windows Authentication waits long and then fails on error like this:
“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=18448; handshake=14535; (Microsoft SQL Server, Error: -2)”
The funny thing is, thatit does not crash everytime. When I start 2 instances of SSMS side-by-side and make a try to connect (Windows Authentication) to the same server simultaneously -- IT WILL SUCCEED ! The same happens when I try to connect SSMS
and our app concurrently within the same 5 or 10 seconds. So, the Windows Authentication connection is about to succeed, but not if it is running single.
According to some articles on the web I’ve experimented with LAN configuration and protocols. Now IPv6 is disabled everywhere (I hope), but the problem is still alive.
A significant problem may ley on the server side, too. It is Win Server 2008 R2 Enterprise + SQL Server 2012 Express, but the Active Directory Controller is running in the same
system. It doesn’t matter for Win 7 client, but who knows, how Win 10 manages my client identity on the server in such constellation ?
I’ve spent 2 days on this problem, but my “admin” skills are short to it. Now I’m about to rewrite all app configurations to SQL Server Authentication and I feel not much happy
about it…
Any ideas that could help us ?