You need to sign in to do that
Don't have an account?
j_paq
Intermittent Query_Timeout error
I've been reading through messages, and I haven't seen this question asked yet.
We've been running 2 S-Controls for a couple years now without issue. The control grabs the ID of the current account and then retrieves the related row from a custom object using that ID. Lately, I have users complaining that the query is timing out.
Strange thing is, I can't replicate the timeout on my machine. I've seen it happen on their machines, but if I get a call about the timeout I immediately go in and try the same account without error.
Am I just that lucky? Any ideas as to what's going on?
Can you post the query itself here?
Werewolf,
I am suffering from this Query_Timeout exception for such a long time. I hope you will give some solution how to handle this exception.
here is my query which you asked:-
Could you guide me how to handle this exception thru java code. I couldn't get any complete info from apex api document abt this exception.
I am using the following method to query the sfdc object
please give me some solution
Thanks werewolf, the code issue is fixed. i didn't set the batch size via program. the query was always returns the entire records at a single shot intead of returning a specified batch size of 200 records, thats why Querymore function never called and failed to keep the sfdc status as Keep Alive and it got timed out.
I believe after set the batch size as 250, the timeout wouldn't come up again