SQL - A connection was successfully established with the server, but then an error occurred during the pre-login handsha
I am getting following error when i am trying to connect Production DB from Local Environment.
I was able to connect Production DB before, but suddenly i am getting following error, any idea?
A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 0 - The handle is invalid.)
Solution
1) Clean your VS.Net Solution
2) Rebuild Project.
3) Reset IIS
4) Run the project again.
Basically that solved my problem, but in my case i was not getting this error and suddenly my local environment starts giving me above error, so may be that trick work for me.
声明:并非所有转载的文章之全部内容都代表本人观点。如果本人转载文章侵犯了原作者的著作权,请及时与本人联系,本人将在第一时间从本人博客中删除

浙公网安备 33010602011771号