【发布时间】:2011-04-30 08:43:27
【问题描述】:
我正在制作一个带有服务的 Silverlight 程序。 一切正常,但是当我昨天启动程序时出现此错误: CommunicationException is unhandled by user code, 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.
bij System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
bij System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClass5.<EndGetResponse>b__4(Object sendState)
bij System.Net.Browser.AsyncHelper.<>c__DisplayClass2.<BeginOnUI>b__0(Object sendState)
--- Einde van intern uitzonderingsstackpad ---
bij System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
bij System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
bij System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result)}
Stacktrace:
bij System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result)
bij System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
bij System.ServiceModel.ClientBase`1.ChannelBase`1.EndInvoke(String methodName, Object[] args, IAsyncResult result)
bij BiljartHandicap.UserValidationWebServiceReference.UserValidationWebServiceClient.UserValidationWebServiceClientChannel.EndValidateUsername(IAsyncResult result)
bij BiljartHandicap.UserValidationWebServiceReference.UserValidationWebServiceClient.BiljartHandicap.UserValidationWebServiceReference.UserValidationWebService.EndValidateUsername(IAsyncResult result)
bij BiljartHandicap.UserValidationWebServiceReference.UserValidationWebServiceClient.OnEndValidateUsername(IAsyncResult result)
bij System.ServiceModel.ClientBase`1.OnAsyncCallCompleted(IAsyncResult result)
【问题讨论】:
-
重新插入以太网电缆:-)
标签: .net silverlight wcf web-services wcf-ria-services