I've got a .NET application that uses Remoting between an Administration Console and a Server application.
During a particularly long running remoting call, I will get an error message, displayed below.
I have added the Sponsor to the client to prevent the Remoting connection from being closed, and I have verified the Renew() method is being called.
I've googled the error, but nothing much comes up. I'm not really sure what's the issue here, so any help is appreciated.
Value cannot be null. Parameter name: returnHeaders
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentNullException: Value cannot be null.
Parameter name: returnHeaders
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[ArgumentNullException: Value cannot be null.
Parameter name: returnHeaders]
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +7596735