powered by simpleCommunicator - 2.0.46     © 2025 Programmizd 02
Форумы / WCF, Web Services, Remoting [игнор отключен] [закрыт для гостей] / The remote server returned an error: NotFound.
4 сообщений из 4, страница 1 из 1
The remote server returned an error: NotFound.
    #37976202
ecivgamer
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Привет всем!

Помогите новичку плз.

Microsoft Visual Studio 2010, version 10.0.40219.1 SP1Rel
.NET Framework version 4.0.30319 SP 1Rel

Сбоит Silverlight application на строчках

Код: plaintext
1.
2.
3.
            public void EndSavePersons(System.IAsyncResult result) {
                object[] _args = new object[0];
                base.EndInvoke("SavePersons", _args, result);




краткий текст 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?
...
Рейтинг: 0 / 0
The remote server returned an error: NotFound.
    #37978607
Winnipuh
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
...
Рейтинг: 0 / 0
The remote server returned an error: NotFound.
    #37978611
Winnipuh
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
а вообще-от надо бы проверить адрес на клиенте и реальный адрес сервера...
...
Рейтинг: 0 / 0
The remote server returned an error: NotFound.
    #37978764
ecivgamer
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Winnipuhа вообще-от надо бы проверить адрес на клиенте и реальный адрес сервера...

можно подробнее?
...
Рейтинг: 0 / 0
4 сообщений из 4, страница 1 из 1
Форумы / WCF, Web Services, Remoting [игнор отключен] [закрыт для гостей] / The remote server returned an error: NotFound.
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]