Print Page | Close Window

Timeout Error

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2010
Forum Discription: For .NET 4.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=2485
Printed Date: 26-Mar-2025 at 11:25am


Topic: Timeout Error
Posted By: gregweb
Subject: Timeout Error
Date Posted: 03-Feb-2011 at 8:53pm
Is there a way to set the Timeout on RemoteProcedureCalls?
 
I am doing some fairly lengthly processes on the server, and I am getting TimeoutErrors.
 
Another though I had on this is what if I started another thread on the server in the RPC to do the work so that the RPC could return right away?  I don't need to return any data, as it's just doing work with the data.  Then I would never get a timeout error.  However, if there were some other error, I don't know how this would get back to the client unless I created an ErrorLog table on the server and queried that for errors.
 
Thanks,
 
Greg



Replies:
Posted By: sbelini
Date Posted: 03-Feb-2011 at 9:51pm
Hi Greg,
 
In cases where the method on the server might take longer than you hope, you might want to use the Push feature instead.
 
You can find information on the Push notification (as well as a sample) in our http://drc.ideablade.com/xwiki/bin/view/Documentation/Push-notification - DevForce Resource Center .
 
Silvio.



Print Page | Close Window