[英]Unusual SqlException when initiating connection to SQL Server
I have a number of customers who can connect to our database without problems. 我有许多客户可以毫无问题地连接到我们的数据库。 One of our customers had to install our program fresh after he received a new computer and he's not able to successfully connect.
我们的一位客户在收到一台新电脑并且无法成功连接后,必须重新安装我们的程序。
The connection process involves a stored procedure which checks a username, password and some other details and returns true if that user is allowed to use the database. 连接过程涉及一个存储过程,它检查用户名,密码和其他一些细节,如果允许该用户使用该数据库则返回true。 The call to the stored procedure is where it goes wrong.
对存储过程的调用是出错的地方。
System.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login process.
System.Data.SqlClient.SqlException(0x80131904):已成功与服务器建立连接,但在登录过程中发生错误。 (provider: SSL Provider, error: 0 - Das Format der empfangenen Nachricht war unerwartet oder fehlerhaft.)
(提供者:SSL提供者,错误:0 - Das Format der empfangenen Nachricht war unerwartet oder fehlerhaft。)
That last bit is in German - it translates to 最后一点是德语 - 它转化为
The format of the message received was unexpected or incorrect.
收到的消息格式是意外或不正确的。
I've snipped the rest since it's long. 因为很长时间,我已经剪掉了其余的东西。 Here's the rest as an image.
这是其余的图像。 Sorry - I don't have it as text.
对不起 - 我没有文字。
I've already tried 我已经试过了
SQL Server version info: SQL Server版本信息:
Microsoft SQL Server 2008 R2 (SP2) - 10.50.4000.0 (X64) Jun 28 2012 08:36:30 Copyright (c) Microsoft Corporation Express Edition with Advanced Services (64-bit) on Windows NT 6.2 (Build 9200: )
Microsoft SQL Server 2008 R2(SP2) - 10.50.4000.0(X64)2012年6月28日08:36:30版权所有(c)Microsoft Corporation在Windows NT 6.2上具有高级服务(64位)的Express Edition(Build 9200:)
Everyone else seems to have no problems connecting as usual, but it's just this one customer. 其他人似乎没有像往常一样连接的问题,但它只是这一个客户。
Now, one thing that's odd is it states the provider is 'SSL Provider'. 现在,有一件事很奇怪,它表明提供商是'SSL提供商'。 As far as I know, I'm not using SSL.
据我所知,我没有使用SSL。 Could the client think it's SSL when it's not, and that's causing unexpected data?
客户是否可以认为它不是SSL,这会导致意外数据?
I'm running out of things to try - any ideas how I should proceed in troubleshooting? 我已经没有什么可以尝试了 - 任何想法我应该如何进行故障排除?
这是.Net Framework 4.5.1中的已知错误.NET Framework 4.5.1中断了与SQL Server的ADO.NET连接您可以通过安装.Net Framework 4.5.2来解决此问题
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.