System.ComponentModel.Win32Exception: The client and server cannot communicate, because they do not possess a common algorithm

Petchiammal Rajumayandi 61 Reputation points
2024-03-25T05:37:15.46+00:00

Hi,

I recently migrated my Windows Form app which was running in .NET framework 4.5.1 and migrated to .NET Framework 4.7.1. This latest migrated app is running in a production site.

The configurations of the PC running the App is:

OS: Windows 10 Pro
Version: 22H2
OS build: 19045.4170
.NET Framework in pc: 4.8.09037

One of the modules in the app communicates to a Third party SOAP Service. when communicate to this SOAP Service, the throws exception

System.ServiceModel.Security.SecurityNegotiationException: SOAP security negotiation with '<Third party service UL>' for target '<Third party service UL>' failed. See inner exception for more details. ---> System.ComponentModel.Win32Exception: The client and server cannot communicate, because they do not possess a common algorithm

My app with 4.5.1 .NET Framework is working without any issue. If I upgrade the .NET Framework 4.7.1 version app,

some app working good. sometimes the app throws the issue mentioned.

I searched the google and found some suggestion to apply in the application config file. i did all the suggestions, but still getting same error.

As it is happening in the Production site, It becomes critical now.

Could you suggest a solution for this?

Thank you.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,375 questions
{count} votes