查询“登录”的加载操作失败。远程服务器返回错误:NotFound [英] Load Operation failed for query 'Login'. The remote server returned an error: NotFound

查看:356
本文介绍了查询“登录”的加载操作失败。远程服务器返回错误:NotFound的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在项目中使用Siverlight 5.0,RIA服务和实体框架。

I'm working with Siverlight 5.0, RIA Services and Entity framework in my project.

当我使用VS部署应用程序时,该应用程序运行良好。但是,当我使用Web部署项目发布应用程序时,对同一系统上的RIA服务服务的首次调用失败。产生类似于以下错误:

When I deploy the application using VS, the application runs fine. However, when I use a web deployment project to publish the application, the first call to a RIA services service on the same system fails. An error similar to this is produced:


查询登录的加载操作失败。远程服务器返回了
错误:NotFound

Load Operation failed for query 'Login'. The remote server returned an error: NotFound

我想,最后一条消息不足以得到具体错误。建议我该怎么做才能为您提供更多信息。我收到此错误已有两天了,我感到绝望。

I guess, the last message is not enough to get the concrete error. Suggest me what to do to provide you more information. I'm getting this error for two days and I'm getting desperate.

推荐答案

我要做的第一件事是启用WCF跟踪,然后安装Fiddler 以获得有关通信的更多信息。 Silverlight的每个通信错误都会以NotFound的形式返回,因此就请求/响应本身而言,您唯一的真正希望是让Fiddler给您一些额外的见解。 WCF跟踪有望为您提供有关服务器端正在发生的事情的更多信息。最后,如果可能的话,在已发布的应用程序上放置一个调试器,并插入一个断点来逐步解决问题。

The first thing I'd do is to enable WCF tracing, and then installing Fiddler to get more information about the communication. Every communication error with Silverlight comes back as NotFound, so your only real hope as far as the request/response itself goes is to have Fiddler give you a little extra insight. WCF tracing will hopefully give you some more info on what's happening on the server end. Finally, if possible, drop a debugger on the published application and insert a breakpoint to step through the issue.

那应该可以使您在服务器和客户端上都具有更大的可视性

That should hopefully give you more visibility on both the server and client side, with Fiddler giving you insight as to the communication that happens in between.

这些错误可能是使用Silverlight时最大的麻烦,或者至少是最常见的麻烦。祝你好运。

These sorts of errors are probably the biggest, or at least most common headache to working with Silverlight. Best of luck.

这篇关于查询“登录”的加载操作失败。远程服务器返回错误:NotFound的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆