我有一个Radgrid控制列表屏幕。默认的页面大小是30。当我将页面大小更改为30000时,wcf将成功返回记录。但是当我再次请求相同的页面大小数据时,它会显示错误消息:-
服务器未提供有意义的回复;这可能是由于合同不匹配,会话过早关闭或服务器内部错误引起的。
Stack Trace:
at System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result)
at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
at System.ServiceModel.ClientBase`1.ChannelBase`1.EndInvoke(String methodName, Object[] args, IAsyncResult result)
at Sample.Connext.FrontEnd.Library.SL.ServiceClients.DisplayDataServiceClient.DisplayDataServiceClientChannel.EndGetGridData(IAsyncResult result)
at Sample.Connext.FrontEnd.Library.SL.ServiceClients.DisplayDataServiceClient.Sample.Connext.FrontEnd.Library.SL.ServiceClients.IDisplayDataService.EndGetGridData(IAsyncResult result)
at Sample.Connext.FrontEnd.Library.SL.ServiceClients.DisplayDataServiceClient.OnEndGetGridData(IAsyncResult result)
at System.ServiceModel.ClientBase`1.OnAsyncCallCompleted(IAsyncResult result)
Additional Info: An error has occurred while retrieving grid data.
请注意,数据传输的大小已设置为最大限制:
<httpsTransport maxReceivedMessageSize="2147483647" maxBufferSize="2147483647" />
那么为什么它在第一次但第二次不起作用?