fredag 4. mai 2012

.Net 4.5 disables connection to remote database


After I installed .net v4.5 i ran into the following problem:

A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - The wait operation timed out.)

The funny thing was that the error only occured when connecting to a remote SQL server. The bug is reported on  Microsoft Connect.

The work around for me was to remove non-IFS LSP installed Winsock Catalog Provider as described in the KB 2568167.

2 kommentarer:

  1. Hello Lars,

    I have just installed Visual Studio 2012 and have the same problem as you have. I looked at the KB2568167, but I couldn't find Service Flag 0x20000 but only 0x20---.

    Do you have any suggestion to solve the problem?

    Thanks in advance

    Best regard,

    Michael Petersen, Denmark

  2. Michael,
    Could you please provide the dump from the command "netsh WinSock Show Catalog"?