.net RIA 服务的第 10 次调用失败,并显示“用户登录失败...”

发布于 2024-08-06 03:06:25 字数 179 浏览 4 评论 0原文

仅在 9 次成功调用同一 .net RIA 服务后,我才会收到此错误。 System.Windows.Ria.Data.EntityOperationException:用户登录失败....

net RIA 服务没有 EntityOperation 方法,只有一个返回 XElement 的 ServiceOperation。

I get this error only after 9 successful calls to same .net RIA service.
System.Windows.Ria.Data.EntityOperationException: Login failed for user...

The .net RIA service has NO EntityOperation methods, only the one ServiceOperation which returns an XElement.

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

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

发布评论

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

评论(2

蘸点软妹酱 2024-08-13 03:06:26

是否可能是您的 WCF 连接不足?当您使用完频道后是否无法关闭频道?

我不久前在这篇文章中遇到了类似的事情: 链接

Could it be that you're running out of WCF connections? Are you failing to close your channels when you're finished with them?

I came across something similar a while ago in this post: Link

淡淡的优雅 2024-08-13 03:06:26

事实证明这是 SQLServer 身份验证的问题。仅当我使用来自 .net RIA 服务的受信任连接时,才会出现此问题。将其更改为 SQLServer 凭据连接,应用程序可以根据需要多次调用该服务

Turns out it was an issue with SQLServer authentication. The problem only occurs if I use a trusted connection from the .net RIA service. Changing that to a SQLServer credentials connection, and the app can call the service as many times as needed

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