silverlignht双工通信,远程服务器返回了错误: NotFound。

ahnuczg 2013-12-29 06:34:51
异常代码:
{System.ServiceModel.CommunicationException: 远程服务器返回了错误: NotFound。 ---> System.Net.WebException: 远程服务器返回了错误: NotFound。 --->
System.Net.WebException: 远程服务器返回了错误: NotFound。
位于 System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
位于 System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClassa.<EndGetResponse>b__9(Object sendState)
位于 System.Net.Browser.AsyncHelper.<>c__DisplayClass4.<BeginOnUI>b__0(Object sendState)
--- 内部异常堆栈跟踪的结尾 ---
位于 System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
位于 System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
位于 System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result)
--- 内部异常堆栈跟踪的结尾 ---
位于 System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result)
位于 System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result)
位于 System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
位于 System.ServiceModel.ClientBase`1.ChannelBase`1.EndInvoke(String methodName, Object[] args, IAsyncResult result)
位于 GetLocationsToConstructLines.LocationServiceReference.DupleServiceClient.DupleServiceClientChannel.EndGetLocations(IAsyncResult result)
位于 GetLocationsToConstructLines.LocationServiceReference.DupleServiceClient.GetLocationsToConstructLines.LocationServiceReference.IDupleService.EndGetLocations(IAsyncResult result)
位于 GetLocationsToConstructLines.LocationServiceReference.DupleServiceClient.OnEndGetLocations(IAsyncResult result)
位于 System.ServiceModel.ClientBase`1.OnAsyncCallCompleted(IAsyncResult result)} System.Exception {System.ServiceModel.CommunicationException}


图片:
1.service.svc在浏览器查看正常
2.没有使用数据库,数据量仅是构造几个double组成的数字推送给客户端。
3.跨域文件不知道用的对不对,没有配置iis,将跨域文件放到了C:\inetpub\wwwroot下面了。在没放之前报的错误是需要跨域文件的错误,放到这里之后报的错误是:远程服务器返回了错误: NotFound。
求解答,很急。
...全文
161 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
jiaoshiyao 2014-01-02
  • 打赏
  • 举报
回复
Silverlight 不支持 直接的双工通信- - 你需要改好多东西- -
ahnuczg 2013-12-30
  • 打赏
  • 举报
回复
引用 1 楼 KumaPower 的回复:
wcf?双工通信是指NetTcpBinding?
是的。
Bonjour-你好 2013-12-29
  • 打赏
  • 举报
回复
wcf?双工通信是指NetTcpBinding?

8,731

社区成员

发帖
与我相关
我的任务
社区描述
WPF/Silverlight相关讨论
社区管理员
  • WPF/Silverlight社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧