Benutzer mit den meisten Antworten
SSL Provider, error:0 - Der Wartevorgang wurde abgebrochen nach Update auf .net 4.5

Frage
-
Hallo,
Nach dem Update von .net4.0 auf .net4.5 bekomme ich folgenden Fehler bei der Verbindung zu SQL-Server.
unter .net4.0 gehts. unter .net4.5 nicht.Verbindung mit
Es konnte eine Verbindung mit dem Server hergestellt werden, doch während des Handshakes vor der Anmeldung trat ein Fehler auf. (provider:SSL Provider, error:0 - Der Wartevorgang wurde abgebrochen.)Folgenden Links habe ich dazu gefunden (Hilft mir aber nicht bei der Fehlerbehebung):
http://connect.microsoft.com/VisualStudio/feedback/details/729323/visual-studio-11-beta-installation-disabled-my-abillity-to-connect-remote-ms-sql-server-but-not-local-databaseshttp://support.microsoft.com/kb/2568167?wa=wsignin1.0
Frage: Wo sollte ich den Fehler suchen? auf dem Client oder auf dem Server?Grüße Andreas
- Bearbeitet AndreasGra Freitag, 23. November 2012 12:42
Antworten
-
Hallo Elmar,
thanks for your reply, in the end that helped:
https://connect.microsoft.com/VisualStudio/feedback/details/729323/visual-studio-11-beta-installation-disabled-my-abillity-to-connect-remote-ms-sql-server-but-not-local-databases#
I used the LSP-Fix. I'm not sure what the Program exactly did in the end. But it solved my Problem.
Grüße Andreas
- Als Antwort markiert AndreasGra Montag, 26. November 2012 14:26
Alle Antworten
-
Hallo Andreas,
das sieht nach einem Fehler bei der Verschlüsselung aus (wg. SSL Provider).
Siehe u. a.: Verschlüsseln von Verbindungen zu SQL Server
Encrypting connections in SQL Server 2005 & SQL Native Client with SSL
Eine Änderung findet man bei SqlConnection ConnectionString zu Encrypt:
<Zitat>
Beginning in .NET Framework 4.5, when TrustServerCertificate is false and Encrypt is true, the server name (or IP address) in a SQL Server SSL certificate must exactly match the server name (or IP address) specified in the connection string. Otherwise, the connection attempt will fail. For information about support for certificates whose subject starts with a wildcard character (*), see Accepted wildcards used by server certificates for server authentication.
</Zitat>
Gruß Elmar
-
Hallo Elmar,
thanks for your reply, in the end that helped:
https://connect.microsoft.com/VisualStudio/feedback/details/729323/visual-studio-11-beta-installation-disabled-my-abillity-to-connect-remote-ms-sql-server-but-not-local-databases#
I used the LSP-Fix. I'm not sure what the Program exactly did in the end. But it solved my Problem.
Grüße Andreas
- Als Antwort markiert AndreasGra Montag, 26. November 2012 14:26