PDA

View Full Version : [CLOSED] urgent help please (Communication failure)



JCarlosF
Apr 20, 2013, 5:37 PM
I perform a series of queries to the database using stored procedures,
locally works fine, but when run on the server looks like this

6078

why?

is urgent, help me please
thanks!

jchau
Apr 20, 2013, 5:57 PM
are they timing out? are you getting that message after 30s or so? download and use Fiddler to watch the http requests and responses.

JCarlosF
Apr 20, 2013, 6:59 PM
are they timing out? are you getting that message after 30s or so? download and use Fiddler to watch the http requests and responses.

I downloaded fiddler, but not how to use it, is there any other solution?

the stored procedure does is fill about 10 grids

Vladimir
Apr 21, 2013, 3:18 AM
Yes, I am pretty sure that it is timeout issue (do you see failure window immediately after request or after 30 sec?)
You can increase timeout for request (if you use DirectEvent then use Timeout property) but i am strongly recommend to redesign your server side handler for that ajax request

JCarlosF
Apr 23, 2013, 3:01 PM
Yes, I am pretty sure that it is timeout issue (do you see failure window immediately after request or after 30 sec?)
You can increase timeout for request (if you use DirectEvent then use Timeout property) but i am strongly recommend to redesign your server side handler for that ajax request


ok, was useful

Thanks!

KBorkiewicz
Oct 09, 2013, 5:58 PM
Yes, I am pretty sure that it is timeout issue (do you see failure window immediately after request or after 30 sec?)
You can increase timeout for request (if you use DirectEvent then use Timeout property) but i am strongly recommend to redesign your server side handler for that ajax request

I am having this issue too - it works fine locally, but gets a "communication failure" error on the server. I have a timeout of 600000 on my DirectEvent, but it still fails after 30 seconds or so, so that is not the issue.


<ext:TaskManager ID="TaskManager1" runat="server">
<Tasks>
<ext:Task
TaskID="reportprogress"
Interval="1000"
AutoRun="false"
OnStart="#{btnExport}.setDisabled(true);"
OnStop="#{btnExport}.setDisabled(false); #{wdwCreateReport}.close();">
<DirectEvents>
<Update OnEvent="RefreshProgress" Timeout="600000"/>
</DirectEvents>
</ext:Task>
</Tasks>
</ext:TaskManager>

Daniil
Oct 10, 2013, 3:56 AM
Hi @KBorkiewicz,

Please provide a full test case.