ArgumentNullException when uninstalling an application

I have a .NET application using Remoting between the administration console and the server application.

During a particularly long call forwarding, I will receive the error message displayed below.

I added a sponsor to the client to prevent the Remoting connection from closing, and I checked how the Renew () method is called.

I was looking for an error, but nothing comes of it. I'm not quite sure what the problem is, so any help is appreciated.

The value cannot be null. Parameter Name: returnHeaders

Description: An unhandled exception occurred during the execution of the current web request. Check the stack trace for more information about the error and where it appeared in the code.

Exception Details: System.ArgumentNullException: The value cannot be null.

Parameter Name: returnHeaders

Source Error:

An unhandled exception was thrown during the execution of the current web request. Information about the origin and location of the exception can be identified using the trace of the exception stack below.

Stack trace:

[ArgumentNullException: value cannot be null.

Parameter Name: returnHeaders]

System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage (IMessage reqMsg, IMessage retMsg) +7596735

+3
source share
1 answer

, , syncfusion.com, SecurityPermissions , , BinaryFormatter ( , ?) - , .

, , , , , try/catch , , .. , InnerException , .... - ... , ... ...

...

void FuBar(void){ 
   int foo = 3, bar = 4, baz = 0; 
   baz = foo + bar; 
}

, , FuBar, , , , ...

, - , ...

, ? ...

, , , .

+3

Source: https://habr.com/ru/post/1734632/


All Articles