Error on connection with .NET 4.5.1 "The message received was unexpected or badly formatted."
说明
Error on connection with .NET 4.5.1 "The message received was unexpected or badly formatted." Toad will connect fine with .NET 4.0.
原因
Error will occur when trying to connect using SSMS.
解决办法
There is a problem with .Net 4.5.1 and the SQL Server driver. Microsoft had to fix this issue on there end. Please see issue detail and if you can use the workaround with Toad and .NET 4.5.1 Here