Re: Interesting Socket error when contacting .net remote server




"balak" <balak@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:0B68990E-120C-4BE7-A462-555E66C48D8B@xxxxxxxxxxxxxxxx
Server machine
===========
I have a .net remote server application (console app hosting a .net remote
object) installed on the server machine.

Client machine
==========
I also have a windows service on another machine (client) that creates the
remote object and makes calls on it. The remote object is invoked as a
singleton object.

Now the server machine gets rebooted often (by design) and so the windows
service on the client machine has retry logic (by catching socket
exceptions
and sleeping for a few minutes and retrying).

What is happening is that after reboot of the server machine , when the
windows service on client again creates and calls on the remote object, I
get
socket errors (host unreachable) even though the server app has started
and
ready to serve objects.

Any idea why this might be happening?
Is there any information that is cached by the remoting framework
indicating
that the server is unavailable (while the server was rebooting and the
remote
call failed) and that is preventing future calls?


Hi,
I are you connecting through router or is the server on LAN?

Regards,
Goran


.



Relevant Pages

  • Re: Stupid ATL COM Server question
    ... One way is to specify the remote server at ... registering your type library on the client machine will not ... you either have to register your ... This provides the alternate way of specifying a remote ...
    (microsoft.public.vc.atl)
  • Re: COCreateInstanceEx returnes RPC Server unavailable error in VC 7.0
    ... What makes you think you can't create a proxy/stub DLL in ... I have hosted the same on a remote network machine; ... On the server i have added the service exe to the firewall's exception ... I have added my client machine to the "remote launch and ...
    (microsoft.public.vc.atl)
  • Re: Terminal Server and DNS
    ... What happens if you run "netstat -ano" on the server machine? ... Jeffrey Randow (Windows Networking & Smart Display MVP) ... Remote Networking Technology Support Site - ... >>you connecting, ...
    (microsoft.public.windows.server.networking)
  • problem running MS SQL Web Data Admin
    ... My client machine is XP Pro with SP1 with IIS 5.1 My server machine is ... in mixed mode) as well as MS SQL Web Data Admin (webadmin) installed on it. ... I then installed webadmin on the Client machine but can't get it to connect ... Exception Details: System.Runtime.InteropServices.COMException: COM object ...
    (microsoft.public.sqlserver.msde)
  • Re: ServiceController with remote services
    ... I would rather not use an Admin account if possible. ... missing permissions are, ... impersonated by the remote client application, or it will be the user ... to the remote server machine that has been established on the remote server ...
    (microsoft.public.dotnet.languages.csharp)

Loading