Initially my project was on .NET framework 4.5 and then I migrated it to .NET framework 4.6.1 And Now, I am getting Socket Exceptions which was not there earlier with .NET 4.5
Error message as:
Inner Exception --------------- Type : System.ServiceModel.CommunicationException, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 Message : The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '00:00:59.9900000'.
Inner Exception --------------- Type : System.Net.Sockets.SocketException, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 Message : An existing connection was forcibly closed by the remote host
Can anyone please tell, how upgrade in .NET framework is affecting it and what should be the solution?