Click here to Skip to main content
15,941,973 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello
I can connect to remote sql server from my local sql server management studio.
But when I want to connect to this network server, from visual studio (SqlClient), I give following error:
"A connection was successfully established with the server,but then an error occurred during the pre-login handshake.(provider: SSL Provider, error:0 - The wait operation timed out.)

It's remarkable that I can connect to this remote sql server from another client visual studio.
I've enabled sql server tcp/ip and named pipes .

please help me. Thank you.
Posted
Updated 8-Mar-18 19:06pm

In my situation, I had a content filter/proxy called Covenant Eyes that was the likely cause.

I tried repairing the install of SQL server 2012 and it crashed the install and still did not fix the problem. As soon as I generated an uninstall code and uninstalled the filter, I could connect; I did not even have to reboot.

Check for proxies and content filters on the machine and disable them!
 
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