May 25, 2018, 12:14 PM
[CLOSED] Getting "Request Failure Status code: Status Text: communication failure in latest version 4.5.1
Hi,
I am getting error while loading data through ajax call into grid. For processing of data from database it will take approx. 1 min 30 sec. in that case i am getting error message: Request Failure Status code: Status Text: communication failure. (I am not able to close that box also).
Below is my code:
In Web.config file
I am getting error while loading data through ajax call into grid. For processing of data from database it will take approx. 1 min 30 sec. in that case i am getting error message: Request Failure Status code: Status Text: communication failure. (I am not able to close that box also).
Below is my code:
Html.X().GridPanel()
.ID("GridOrderDashboard")
.Layout(Ext.Net.LayoutType.Fit)
.Padding(0)
.Border(true)
.AutoScroll(true)
.Scroll(Ext.Net.ScrollMode.Both)
.Height(320)
.AllowDeselect(false)
.Store(storeitem =>
{
storeitem.Add(
Html.X().Store()
.ID("GridOrderDashboardStore")
.PageSize(5)
.AutoLoad(true)
.RemoteSort(false)
.RemotePaging(false)
.Listeners(listen => { listen.Load.Fn = "onGridLoad"; })
.BuildProxy("~/AjaxData/GetOrder/")
.Model(model => model.Add(Html.X().Model()
.IDProperty("JOID")
.Fields(fields =>
{
fields.Add(Html.X().ModelField().Name("dataid"));
fields.Add(Html.X().ModelField().Name("status"));
})
))
As per forum i have added below tag in Web.config but still i am getting above error message.In Web.config file
ajaxTimeout="180000"
in Controller side: [Ext.Net.DirectMethod(Timeout=90000)]
but still getting error.
Last edited by fabricio.murta; May 31, 2018 at 11:49 AM.