The client and server cannot communicate, because they do not possess a common algorithm WCF

-4

I have a communication problem between my ASP.NET website and WCF services, which are both on the same machine.

Error thrown by WCF service:

System.ComponentModel.Win32Exception (0x80004005) The client and server cannot communicate, because they do not possess a common algorithm (NativeErrorCode: 80090331)

This is on the client side:

public override bool ValidateUser(string username, string password)
{ 

    bool isValid = false; 

    using (DynamicProxy<IExtranetMembershipService> client = new DynamicProxy<IExtranetMembershipService>(false)) 
    { 
        isValid = client.Impl.ValidateUser(applicationName, username, password); 
    } 
    return isValid; 
} 

On server side it throws the upper message, that I've posted above.

c#
wcf
asked on Stack Overflow Apr 18, 2016 by Bogdan Nasui • edited Apr 18, 2016 by Tim

1 Answer

0

I finally found the problem. It turns out that the protocol TLS 1.2 should be disabled and I had to install the latest updates for .NET Framework 4.6.1.

answered on Stack Overflow Apr 19, 2016 by Bogdan Nasui

User contributions licensed under CC BY-SA 3.0