Hello I have a problem. My connection with the sharepoint server broken.
The error:
Could not load file or assembly 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.21.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)


So in the last day this aplication work perfectly without error:

What should I do to resolve this connection problem.
Yesterday everything was working properly and suddenly it completely lost the connection and never worked again.
I already installed a new gateway and still give the same type of connection error.
Can someone give me some help?