Silverlight 4 浏览器外错误

发布于 2024-09-10 02:30:16 字数 543 浏览 0 评论 0 原文

通过网页使用 Silverlight 4 WCF RIA 服务效果很好。将其安装为浏览器外应用程序后,出现空白屏幕,然后出现错误,显示“查询‘GetUser’的加载操作失败。对‘http://reports.mywebsite.com/Reports/ClientBin/Reports-Web-AuthenticationService.svc/binary/GetUser< /a>' 已超过分配的超时..." 在数据库连接字符串中使用带有用户 ID/密码的 SqlMembershipProvider - 使用表单身份验证。

单击“确定”,然后出现登录屏幕,此后一切正常。

有点奇怪的是,超时发生了,然后一切都很好。我可以做什么来防止这种情况发生?

谢谢!

Using the Silverlight 4 WCF RIA services works just fine via web page. After installing it as an Out Of Browser application, there is a blank screen then an error comes up saying "Load operation failed for query 'GetUser'. The HTTP request to 'http://reports.mywebsite.com/Reports/ClientBin/Reports-Web-AuthenticationService.svc/binary/GetUser' has exceed the allotted timeout..." Using the SqlMembershipProvider with userid/password in the database connection string - using Forms Authenication.

Clicking 'OK' and then the login screen comes up and everything's normal thereafter.

Kinda odd that the timeout happened and then everything's fine. What can I do to prevent that from happening?

Thanks!

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

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

发布评论

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

评论(1

紫南 2024-09-17 02:30:16

这可能是由于您的 RootVisual 未设置某些内容。请参阅我在此处解决此问题的帖子:

http://blog.virtual-olympus.com/blog/post/2011/04/10/Silverlight-4-Out-of-Browser%E2%80% 93Windows-Authentication-Timeout.aspx

This is likely due to your RootVisual not being set to something. See my post here that addresses this issue:

http://blog.virtual-olympus.com/blog/post/2011/04/10/Silverlight-4-Out-of-Browser%E2%80%93Windows-Authentication-Timeout.aspx

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