473,385 Members | 1,429 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,385 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 987
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: David Krmpotic | last post by:
Hi All! I have a .NET remoting Client-Server application with Server Activated Objects only.. something is worrying me.. sometimes (rarely), I can't connect to the server although it is...
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.