473,320 Members | 1,876 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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 2720
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: mayamorning123 | last post by:
A comparison among six VSS remote tools including SourceOffSite , SourceAnyWhere, VSS Connect, SourceXT, VSS Remoting, VSS.NET To view the full article, please visit...
0
by: bettervssremoting | last post by:
To view the full article, please visit http://www.BetterVssRemoting.com Better VSS Remote Access Tool including SourceOffSite, SourceAnyWhere and VSS Remoting This article makes a detailed...
3
by: Logan McKinley | last post by:
I have a C# program that uses blocking sockets and want to allow the user to stop the server. The problem I am having is the socket blocks on...
1
by: José Joye | last post 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...
1
by: Sagaert Johan | last post by:
Hi Ii have a simple server thread in an app that listens for connections, for some unclear reason an exception is thrown every now and then : 'A blocking operation was interrupted by a call to...
0
by: Jigar.Patel | last post by:
I have simple remoting server exposing following simple method. When I try to add webreference to this server in another project, it gives me following error: Custom tool error: Unable to import...
1
by: Sagaert Johan | last post by:
Hi I tried to get around the problem on an un-available remoting server bij using the async methods (BeginInvoke) but noticed that this call is blocking if the remote server is not available....
13
by: José Joye | last post by:
Hello, What is the best way to stop a remoting server (Singleton SAO) that has been started with RemotingConfiguration.Configure(). For sure, I want to do this without quitting the application...
1
by: Ryan Liu | last post by:
Hi, I have a 100 clients/ one server application, use ugly one thread pre client approach. And both side user sync I/O. I frequently see the error on server side(client side code is same, but...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shćllîpôpď 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.