|
The remote server returned an error: NotFound.
|
|||
---|---|---|---|
#18+
Привет всем! Помогите новичку плз. Microsoft Visual Studio 2010, version 10.0.40219.1 SP1Rel .NET Framework version 4.0.30319 SP 1Rel Сбоит Silverlight application на строчках Код: plaintext 1. 2. 3.
краткий текст exception: The remote server returned an error: NotFound. полный текст exception: System.ServiceModel.CommunicationException was unhandled by user code Message=The remote server returned an error: NotFound. StackTrace: 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 WebServiceTest.Silverlight.MyWebService.DataServiceClient.DataServiceClientChannel.EndSavePersons(IAsyncResult result) at WebServiceTest.Silverlight.MyWebService.DataServiceClient.WebServiceTest.Silverlight.MyWebService.DataService.EndSavePersons(IAsyncResult result) at WebServiceTest.Silverlight.MyWebService.DataServiceClient.OnEndSavePersons(IAsyncResult result) at System.ServiceModel.ClientBase`1.OnAsyncCallCompleted(IAsyncResult result) InnerException: System.Net.WebException Message=The remote server returned an error: NotFound. StackTrace: 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) InnerException: System.Net.WebException Message=The remote server returned an error: NotFound. StackTrace: at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult) at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClassa.<EndGetResponse>b__9(Object sendState) at System.Net.Browser.AsyncHelper.<>c__DisplayClass4.<BeginOnUI>b__1(Object sendState) InnerException: только эта куча строк мне ни о чем не говорит... здесь http://stackoverflow.com/questions/9335789/the-remote-server-returned-an-error-notfound-silverlight-wcf нашел подсказку "Look in your web.config for this text: IncludeExceptionDetailInFaults set that to true. Then run your service request again and watch Fiddler this time it will tell you what you need to know" Нашел файл web.config, поменял значение IncludeExceptionDetailInFaults на true, теперь что такое Fiddler? ... |
|||
:
Нравится:
Не нравится:
|
|||
28.09.2012, 16:06 |
|
The remote server returned an error: NotFound.
|
|||
---|---|---|---|
#18+
... |
|||
:
Нравится:
Не нравится:
|
|||
01.10.2012, 14:42 |
|
The remote server returned an error: NotFound.
|
|||
---|---|---|---|
#18+
а вообще-от надо бы проверить адрес на клиенте и реальный адрес сервера... ... |
|||
:
Нравится:
Не нравится:
|
|||
01.10.2012, 14:43 |
|
|
start [/forum/topic.php?fid=19&fpage=15&tid=1397190]: |
0ms |
get settings: |
10ms |
get forum list: |
14ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
32ms |
get topic data: |
13ms |
get forum data: |
3ms |
get page messages: |
46ms |
get tp. blocked users: |
2ms |
others: | 14ms |
total: | 142ms |
0 / 0 |