Thanks to all who replied. It turns out I was at fault. My problem ocurred 
whenever I would disconnect the client and keep the server running. When I 
reconnected, the client registered interest with a new port number. The server 
never deleted the old client reference which was now void, so I was getting the 
exception on the old one, and the new one was working, explaining that issue. 
But to my mind it seemed like it was failing and working on the same one, 
having not realized that there were two.

Thanks for the quick response, it was much appreciated because it got me to 
look at the problem differently.

----- Original Message ----
From: Dean Cleaver <[EMAIL PROTECTED]>
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Sent: Wednesday, May 2, 2007 4:21:09 PM
Subject: Re: [ADVANCED-DOTNET] Remoting problem: "Connection could not be 
made... target machine refused it.....

Is there a firewall in the way? 

-----Original Message-----
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Cal Jachs
Sent: Thursday, 3 May 2007 04:37
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: [ADVANCED-DOTNET] Remoting problem: "Connection could not be
made... target machine refused it.....

I am getting very weird behavior. My client calls into a remote object.
That remote object then calls back on an object being served by the
client (and all registered clients who are also serving the same
callback object).

When the server's remote object goes to call back on the client's
callback object (in this case there is just one client), the method call
results in an exception (see below). Yet despite the exception the call
succeeds behind the scenes anyway. I don't understand how that is
possible?

Furthermore, weirdly the exception message gets called, and then the
console.print that comes right after the method call gets executed. I
guess this is because the actual exception is being handled on a
different thread.

Either way, this is spooky behavior. yeah it works, but why am I getting
this message?

The exact exception message is:

"No connection could be made because the target machine actively refused
it"

===================================
This list is hosted by DevelopMentor(r)  http://www.develop.com

View archives and manage your subscription(s) at
http://discuss.develop.com

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com






__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to