“主域和可信域之间的信任关系失败”访问WindowsPrincipal.IsInRole()方法时出错 [英] "The trust relationship between the primary domain and the trusted domain failed" error when accessing WindowsPrincipal.IsInRole() method

查看:150
本文介绍了“主域和可信域之间的信任关系失败”访问WindowsPrincipal.IsInRole()方法时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

我很感激以下方案的一些帮助

I would appreciate some help on the below scenario

在我们基于Windows身份验证的Web应用程序中,我们使用WindowsPrincipal .IsInRole()方法。 

In our windows authentication based web application, we use WindowsPrincipal.IsInRole() method. 

在与外部域建立双向非传递信任后导致上述方法失败,并显示以下错误消息"主要信任关系域名和受信任域名失败"。 

After established a two way non transitive trust with an external domain caused the above method to fail with the following error message "The trust relationship between the primary domain and the trusted domain failed". 

任何指示为什么它可能认为信任被破坏或我可以采取哪些措施来解决此问题?

Any pointers why it might think the trust is broken or what I can do to resolve this issue?

推荐答案

尝试转储User.Identity.IsAuthenticated属性并查看用户是否无法进行身份验证,或者是否存在信任关系问题。

Try also dump the User.Identity.IsAuthenticated property and see if the user fails to authenticate, or it's trust relationship problem.

如果是"信任关系问题",我认为您应该联系您公司的管理员,看看哪些设置不正确,或者如果您无人问,请在
中询问
Technet论坛

If it's "trust relationship problem" I think you should contact your company's administrators to see what is not set properly, or in case you have nobody to ask, ask in Technet forums.


这篇关于“主域和可信域之间的信任关系失败”访问WindowsPrincipal.IsInRole()方法时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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