WCF Service Communication Exception Error while idle
-
Dear All, We are using multiple WCF service in our silverlight project. The problem is when we leave the service Idle for 3-4 minutes we get problem. The exception is below:: {System.ServiceModel.CommunicationException: The remote server returned an error: NotFound. ---> System.Net.WebException: The remote server returned an error: NotFound. ---> 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) --- End of inner exception stack trace --- at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state) at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result) --- End of inner exception stack trace --- at System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result) at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult 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 TS.HrmsPortalApp.ExpenseSVC.ExpenseSVCClient.ExpenseSVCClientChannel.EndGetExpensePolicyDetail(IAsyncResult result) at TS.HrmsPortalApp.ExpenseSVC.ExpenseSVCClient.TS.HrmsPortalApp.ExpenseSVC.ExpenseSVC.EndGetExpensePolicyDetail(IAsyncResult result) at TS.HrmsPortalApp.ExpenseSVC.ExpenseSVCClient.OnEndGetExpensePolicyDetail(IAsyncResult result) at System.ServiceModel.ClientBase`1.OnAsyncCallCompleted(IAsyncResult result)} The service works fine and keeping service idle for only 2-3 minutes throws the above exception. We have set the timeout to 20 minutes. I don't know what exactly the problem is. I would be very thankful to all of you if you could help me to get this problem resolved. I have already increased the max sizes for various parameters.
Vinod Kumar Prajapati Software Engineer Trisoft Systems
modified on Wednesday, August 11, 2010 6:25 AM