部分信任XBAP & Windows 集成身份验证 - Fiddler 隐藏问题

发布于 2024-07-12 12:07:01 字数 285 浏览 6 评论 0原文

我有一个 asp.net 门户,该门户启动了 3.5 sp1 部分信任 XBAP。 该门户正在集成 Windows 身份验证下运行,但我无法使 XBAP 在集成身份验证下运行。

XBAP 下载并启动正常,但是一旦在同一服务器(不同的网站)上调用 WS,我就会收到 401 错误。 如果我将 WS 设置为使用匿名身份验证,则一切正常。

使用 fiddler 进行调试隐藏了问题(我猜 fiddler 在我的帐户下作为代理运行,因此 WS 调用在 fiddler 运行时起作用)

知道该怎么做吗?

I got a asp.net portal lanching a 3.5 sp1 partial trust XBAP. The portal is running under Integrated Windows Authentication, but I'm unable to make the XBAP run under integrated auth.

The XBAP downloads, and lanches fine, but once a call a WS on the same server (different web site) I get a 401 error. If I set the WS to use anonymous auth, everthing works fine.

Debugging using fiddler hides the problem (I guess fiddler is running as a proxy under my account, therefore the WS call works when fiddler is running)

Any idea on what to do?

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

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

发布评论

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

评论(1

梦忆晨望 2024-07-19 12:07:01

发现问题了,忘记设置UseDefaultCredintials=true; 在代理上

Found the problem, forgot to set the UseDefaultCredintials=true; on the proxy

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