奇怪的 Silverlight/Ria 服务 SP2 问题

发布于 2024-11-28 06:10:26 字数 509 浏览 3 评论 0原文

我在运行 Silverlight 5 和 Ria Services SP2 时遇到奇怪的错误。运行应用程序时,我收到“信息丰富”的“未找到”错误,并且跟踪日志显示以下异常:

传入 HTTP 请求的 URI“http://localhost:57502/Services/CompanyName-Data-Web-Services-DBService”。 svc/binary/binary/GetTblA' 不匹配任何服务操作。

接下来是这个异常:

内容类型text/html;编码器不支持消息的 charset=UTF-8。

我不确定为什么 URL 包含两个 /binary/binary (应该是这样,还是问题所在?),但我无法找到其他人遇到此问题的记录。我越来越觉得这可能是 Ria SP2 的一个错误。

异常是随机抛出的(看起来是这样)。有时它会起作用,有时它会抛出此异常。我无法找到关于它何时崩溃以及何时工作的模式。

谁能帮助我吗?这太令人沮丧了!

预先感谢,

马特

I am experiencing a strange error while running Silverlight 5 and Ria Services SP2. I receive the 'highly informative' Not Found error when running my application, and the trace log shows the following exception:

The incoming HTTP request's URI 'http://localhost:57502/Services/CompanyName-Data-Web-Services-DBService.svc/binary/binary/GetTblA' does not match any service operation.

followed next by this exception:

The content type text/html; charset=UTF-8 of the message is not supported by the encoder.

I am not sure why the URL contains two /binary/binary (is it supposed to be this way, or is THAT the issue?), but I have not been able to find records of anyone else having this problem. I am thinking more and more that it may be a bug with Ria SP2.

The exception is thrown (what seems to be) randomly. Sometimes it will work, other times it will throw this exception. I have not been able to find a pattern as to when it crashes and when it works.

Can anyone help me? This is incredibly frustrating!

Thanks in advance,

Matt

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

饮湿 2024-12-05 06:10:26

检查您是否已将客户端和服务器项目的所有引用更新为 SL5、RIA SP2 和 EDM4.1
可能有一些整体具有指向旧程序集的“使用特定版本”。

Check that you have ALL references of client and server projects updated to SL5 and RIA SP2 and EDM4.1
There may be some entires which have "Use specific version" pointing to older assemblies.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文