The socket connection was aborted in WCF

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.

It may be that there is a DataTable in the data transmission of WCF. If it is a DataTable without a name, the above exception will be thrown.

Another exception is there was an error while trying to destroy parameter

The reason is that an empty table cannot be serialized. The possible reason is that the table is null and a null cannot be serialized

 

 

 

 

 

 

Read More: