wcf exception when the dataload increases
iam working in an silverlight application witha datgrid displaying the records as per the value of a text box
when the records exceeds 3000 it displays an error as below and it works fine when the rcord count is below 3000 ? how to overcome this exception or to handle this
base {System.Net.WebException: The remote server returned an error: NotFound.
at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClass5.<EndGetResponse>b__4(Object sendState)
at System.Net.Browser.AsyncHelper.<>c__DisplayClass2.<BeginOnUI>b__0(Object sendState)} System.SystemEx开发者_运维技巧ception {System.Net.WebException}
You are probably hitting the MaxReceivedMessageSize or MaxItemsInObjectGraph limits defined respectively in the binding and the behavior.
You need to update both configurations with these parameters set to a sufficiently high value (Int32.MaxValue)
精彩评论