469,602 Members | 1,818 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,602 developers. It's quick & easy.

Remoting: A blocking operation was interrupted by .....

When I unload my appdomain, I got the following exception:

A blocking operation was interrupted by a call to WSACancelBlockingCall:
.....

My appdomain uses remoting...
From previous post, I know that I should call "RemotingServices.Disconnect"
to close the remoting channel while unloading my appdomain.
However, when I pass my object (say m_remote), there is an exception
telling:

Cannot call disconnect on a proxy.

The class "m_remote" object refers to has been created with:
soapsuds -url:http://localhost:1236/MonitoringData.rem?wsdl -nowp -gc

and looks like:
[Serializable,
SoapType(XmlNamespace=@"http://schemas.microsoft.com/clr/nsassem/FileTransfe
r/FileTransfer%2C%20Version%3D1.0.1.27735%2C%20Cultu re%3Dneutral%2C%20Public
KeyToken%3Dnull",
XmlTypeNamespace=@"http://schemas.microsoft.com/clr/nsassem/FileTransfer/Fil
eTransfer%2C%20Version%3D1.0.1.27735%2C%20Culture% 3Dneutral%2C%20PublicKeyTo
ken%3Dnull")]
public class UFSMonitorAndControl : System.MarshalByRefObject
{
...}
Any help will be greatly appreciated :-)

Josť

Nov 16 '05 #1
1 2464
Please ignore it.
This was caused by the AppDomain being unloaded.
According to an answer I received, it is by design that such an exception is
thrown when unloading an appDomain :-(

Josť
"Josť Joye" <jo*******@KILLTHESPAMSbluewin.ch> wrote in message
news:ee*************@TK2MSFTNGP10.phx.gbl...
When I unload my appdomain, I got the following exception:

A blocking operation was interrupted by a call to WSACancelBlockingCall:
....

My appdomain uses remoting...
From previous post, I know that I should call "RemotingServices.Disconnect" to close the remoting channel while unloading my appdomain.
However, when I pass my object (say m_remote), there is an exception
telling:

Cannot call disconnect on a proxy.

The class "m_remote" object refers to has been created with:
soapsuds -url:http://localhost:1236/MonitoringData.rem?wsdl -nowp -gc

and looks like:
[Serializable,
SoapType(XmlNamespace=@"http://schemas.microsoft.com/clr/nsassem/FileTransfe r/FileTransfer%2C%20Version%3D1.0.1.27735%2C%20Cultu re%3Dneutral%2C%20Public KeyToken%3Dnull",
XmlTypeNamespace=@"http://schemas.microsoft.com/clr/nsassem/FileTransfer/Fil eTransfer%2C%20Version%3D1.0.1.27735%2C%20Culture% 3Dneutral%2C%20PublicKeyTo ken%3Dnull")]
public class UFSMonitorAndControl : System.MarshalByRefObject
{
...}
Any help will be greatly appreciated :-)

Josť


Nov 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Logan McKinley | last post: by
reply views Thread by Jigar.Patel | last post: by
1 post views Thread by Sagaert Johan | last post: by
reply views Thread by guiromero | last post: by
reply views Thread by devrayhaan | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.