2014-10-04 85 views
3

我有許多客戶可以毫無問題地連接到我們的數據庫。我們的一位客戶在收到新電腦後不得不安裝我們的程序,並且無法成功連接。啓動連接到SQL Server時出現異常SqlException

連接過程涉及一個存儲過程,它檢查用戶名,密碼和其他一些細節,並且如果該用戶被允許使用的數據庫返回true。對存儲過程的調用是它出錯的地方。

System.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - Das Format der empfangenen Nachricht war unerwartet oder fehlerhaft.)

最後一點是德文 - 它轉化爲

The format of the message received was unexpected or incorrect.

我剪掉剩下的,因爲它的長。 Here's the rest as an image.對不起 - 我沒有它作爲文本。

我已經嘗試過

  • 讓用戶重新啓動他的機器
  • 重新啓動SQL服務器
  • 檢查TCP/IP,命名管道和共享內存的SQL服務器上啓用

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:)

其他人似乎沒有像往常一樣連接問題,但它只是這一個客戶。

現在,有一件很奇怪的事情是它指出提供商是'SSL Provider'。據我所知,我沒有使用SSL。如果客戶認爲它不是SSL,並且這會導致意外的數據,客戶是否會認爲它是SSL?

我用盡了所有東西 - 任何想法我應該如何進行故障排除?

+0

解決這個問題你有.Net框架4.5.1安裝? – Giorgi 2014-10-04 16:53:35

+0

@Giorgi:據我所知,客戶已經安裝了必要的Framework版本。這會有所作爲嗎? – 2014-10-04 17:03:50

+0

看到這個bug:https://connect.microsoft.com/VisualStudio/feedback/details/812073/net-framework-4-5-1-breaks-ado-net-connections-to-sql-server – Giorgi 2014-10-04 17:05:40

回答