New Posts New Posts RSS Feed: Timeout Error
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Timeout Error

 Post Reply Post Reply
Author
gregweb View Drop Down
DevForce MVP
DevForce MVP
Avatar

Joined: 10-Sep-2009
Location: Clearwater, Fl
Posts: 253
Post Options Post Options   Quote gregweb Quote  Post ReplyReply Direct Link To This Post Topic: Timeout Error
    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


Edited by gregweb - 03-Feb-2011 at 9:09pm
Back to Top
sbelini View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 13-Aug-2010
Location: Oakland
Posts: 786
Post Options Post Options   Quote sbelini Quote  Post ReplyReply Direct Link To This Post 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 DevForce Resource Center.
 
Silvio.


Edited by sbelini - 03-Feb-2011 at 9:52pm
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down