,如果我离开我的Silverlight应用程序10分钟左右,然后调用一个SOAP方法我碰到下面的堆栈跟踪:Silverlight的WCF错误
{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.ClientHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult) at System.Net.Browser.ClientHttpWebRequest.<>c_DisplayClass5.b_4(Object sendState) at System.Net.Browser.AsyncHelper.<>c_DisplayClass2.b_0(Object sendState) --- End of inner exception stack trace --- at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state) at System.Net.Browser.ClientHttpWebRequest.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.EndCall(String action, Object[] outs, IAsyncResult result) at System.ServiceModel.ClientBase
1.ChannelBase
1.EndInvoke(String methodName, Object[] args, IAsyncResult result) at BlueForums.Blue.BlueClient.BlueClientChannel.EndThreadViewIncrement(IAsyncResult result) at BlueForums.Blue.BlueClient.BlueForums.Blue.IBlue.EndThreadViewIncrement(IAsyncResult result) at BlueForums.Blue.BlueClient.OnEndThreadViewIncrement(IAsyncResult result) at System.ServiceModel.ClientBase`1.OnAsyncCallCompleted(IAsyncResult result)}
我试图连接我自己的服务行为赶上消息,并它看起来像silverlight它实际上调用服务器。
任何人有什么想法?
你有自己的ServiceHost吗?可能是超时问题。 – decyclone 2011-02-15 15:04:17
它被托管在IIS中,所以即时确认它看起来服务主机 – 2011-02-15 15:05:05