Re: Remoting Problem



Hi Robson,

I tried a very simple remoting solution in which I am just throwing an
exception from the remote object for example: throw new Exception("My
Exception");

Now from the client, I called this remote method in an infinite loop,
this should have caused the windows remoting serviec to shut down but
that didn't happen even after 4 hours of continues loop.

But my another Windows service, which is unfortunately in production is
going down after working for few hours.

I am really clue-less here, what is going on.

Any idea?

Thanks and regards,
Vishi

vishi_dhawan@xxxxxxxxxxx wrote:
Thanks Robson for your reply.

I have implemented exception handling now where I am catching all
managed and un-managed exceptions because I am using some COM
components as well.

I will definitely try it out and will let you know the results.

Is there any chances that this Windows Service is going down because of
heavy traffic on my website? Does windows services with Remoting meant
for working under huge loads?

Kindly let me know.

Regards,
Vishi

Robson Siqueira wrote:
Windows Services, in general - IMHO, stop unexpectedly due to an exception.
I had this problem before several times. I strongly recommend you to verify
your code again and put new try/catch sections to get the error.

--
Regards,
Robson Siqueira
Enterprise Architect
<vishi_dhawan@xxxxxxxxxxx> wrote in message
news:1166724984.563814.27890@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi Friends,

I am facing a weird problem while using ASP.Net application and a .Net
Reporting server.

I have my remoting server configured using a Windows service, my object
is stateless and hence I have them configured as Singlecall.

My web application communicates with my above remote server using
tcp/ip on a specific port.

Now, what is happening is, my Windows service is randomly shutting down
all by itself, so I have to manually restart it whenecer it goes down
and so I have to monitor it regularly.

Also, I have to resart my web application becuase it stops
communicating to remote server whenever Windows service goes down and I
restart it manually.

Any kind of help in this will be highly appreciated.

Thanks,
Vishi


.



Relevant Pages

  • Exceptions and remoting
    ... I receive an exception from remoting on the first call I make on the remote ... "No connection could be made because the target machine actively ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: Error with Remoting Events in ASP.NET application: Type Initializer error
    ... Does the exception have any inner exceptions? ... >I have a Windows service that checks the availability of something. ... > remoting object) knows about the ASP.NET application events that are ... > and my ASP.NET client is that I connect to my remoting object in the ...
    (microsoft.public.dotnet.framework.remoting)
  • Return argument has an invalid type - does remoting work reliably at all?
    ... > remote object, ... > remote object returns (I can debug to that point. ... "Advanced .Net Remoting" by Ingo Rammer, his website, msdn, articles on ... .Net Remoting is really a pain to work with. ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: Windows Services GUI
    ... Open a form from a Windows Service ... SQL Server has a number of Windows Services that run, ... have multiple custom commands defined. ... Remoting Server, in which case you call a method to have it perform some ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Choice Between Windows Service and NET Remoting
    ... Choice Between Windows Service and NET Remoting ... Using MSMQ to multi-cast messages is not necessarily a good idea. ... distinct queue for each publisher. ...
    (microsoft.public.dotnet.distributed_apps)