我正在Silverlight中製作一個帶有服務的程序。 一切工作正常,但當我昨天開始我的程序時,我得到這個錯誤:CommunicationException是未處理的用戶代碼,遠程服務器返回了一個錯誤:NotFound 我的代碼以前工作過,我沒有做任何更改。 不知道這可能是什麼?以及如何解決它。.net webservice錯誤
{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)
將以太網線回:-) – 2011-04-30 08:45:12