<i id='otC9p'><tr id='otC9p'><dt id='otC9p'><q id='otC9p'><span id='otC9p'><b id='otC9p'><form id='otC9p'><ins id='otC9p'></ins><ul id='otC9p'></ul><sub id='otC9p'></sub></form><legend id='otC9p'></legend><bdo id='otC9p'><pre id='otC9p'><center id='otC9p'></center></pre></bdo></b><th id='otC9p'></th></span></q></dt></tr></i><div id='otC9p'><tfoot id='otC9p'></tfoot><dl id='otC9p'><fieldset id='otC9p'></fieldset></dl></div>

<small id='otC9p'></small><noframes id='otC9p'>

  • <tfoot id='otC9p'></tfoot>

      <bdo id='otC9p'></bdo><ul id='otC9p'></ul>

      1. <legend id='otC9p'><style id='otC9p'><dir id='otC9p'><q id='otC9p'></q></dir></style></legend>
      2. IIS 抱怨使用 LDAP 身份验证的身份模拟

        IIS complaining about Identity Impersonation using LDAP Authentication(IIS 抱怨使用 LDAP 身份验证的身份模拟)

            <tbody id='czp4k'></tbody>
            <i id='czp4k'><tr id='czp4k'><dt id='czp4k'><q id='czp4k'><span id='czp4k'><b id='czp4k'><form id='czp4k'><ins id='czp4k'></ins><ul id='czp4k'></ul><sub id='czp4k'></sub></form><legend id='czp4k'></legend><bdo id='czp4k'><pre id='czp4k'><center id='czp4k'></center></pre></bdo></b><th id='czp4k'></th></span></q></dt></tr></i><div id='czp4k'><tfoot id='czp4k'></tfoot><dl id='czp4k'><fieldset id='czp4k'></fieldset></dl></div>

              • <small id='czp4k'></small><noframes id='czp4k'>

              • <tfoot id='czp4k'></tfoot>
                  <bdo id='czp4k'></bdo><ul id='czp4k'></ul>
                • <legend id='czp4k'><style id='czp4k'><dir id='czp4k'><q id='czp4k'></q></dir></style></legend>
                  本文介绍了IIS 抱怨使用 LDAP 身份验证的身份模拟的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我按照教程在 ASP.NET/C# 4.0 Web 应用程序中实现 LDAP 身份验证.我在 Visual Studio 2010 中这样做了.该站点通过 Visual Studio 在调试模式下运行良好,但是当我在 IIS7 中发布该站点时,它失败并出现以下错误:

                  I followed a tutorial to implement LDAP authentication in an ASP.NET/C# 4.0 web application. I did so in Visual Studio 2010. The site runs fine in debug mode through Visual Studio, but when I publish this site in IIS7, it is failing with the following error:

                  HTTP 错误 500.24 - 内部服务器错误 ASP.NET 设置已被检测到不适用于集成托管管道模式.

                  HTTP Error 500.24 - Internal Server Error An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.

                  最可能的原因:

                  • system.web/identity@impersonate 设置为 true.

                  实际上,部分教程要求我将其添加到配置文件中...

                  In fact, part of the tutorial required that I add this to the config file...

                  <identity impersonate="true"/>
                  

                  那么为什么我会收到这个错误,我该如何解决呢?

                  So why would I be getting this error and how do I fix it?

                  推荐答案

                  尝试将应用程序池的管道模式更改为经典"

                  Try changing your application pool's pipeline mode to 'Classic'

                  您可以通过打开 IIS -> 应用程序池 -> 右键单击您的应用程序池并选择基本设置 -> 托管管道模式,更改为 Classic

                  You do this by opening IIS -> Application Pools -> Right-click your application pool and select Basic Settings -> Managed pipline mode, change to Classic

                  重新启动您的应用程序池和网站(不应该尝试但永远不会有坏处),然后重试.

                  Restart your app pool and site (shouldn't need to but never hurts to try) and try again.

                  您可以尝试的另一件事是在 <system.webServer> 节点内的 web.config 文件中添加以下内容:

                  Another thing you can try, instead of the above, is to put the following in your web.config file, inside the <system.webServer> node:

                         <validation validateIntegratedModeConfiguration="false" />
                  

                  这篇关于IIS 抱怨使用 LDAP 身份验证的身份模拟的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Adding and removing users from Active Directory groups in .NET(在 .NET 中的 Active Directory 组中添加和删除用户)
                  set equality in linq(在 linq 中设置相等)
                  HashSet conversion to List(HashSet 转换为 List)
                  How to set timeout for webBrowser navigate event(如何为 webBrowser 导航事件设置超时)
                  Test whether two IEnumerablelt;Tgt; have the same values with the same frequencies(测试两个IEnumerablelt;Tgt;具有相同频率的相同值)
                  How do you determine if two HashSets are equal (by value, not by reference)?(您如何确定两个 HashSet 是否相等(按值,而不是按引用)?)

                  • <i id='LB1O2'><tr id='LB1O2'><dt id='LB1O2'><q id='LB1O2'><span id='LB1O2'><b id='LB1O2'><form id='LB1O2'><ins id='LB1O2'></ins><ul id='LB1O2'></ul><sub id='LB1O2'></sub></form><legend id='LB1O2'></legend><bdo id='LB1O2'><pre id='LB1O2'><center id='LB1O2'></center></pre></bdo></b><th id='LB1O2'></th></span></q></dt></tr></i><div id='LB1O2'><tfoot id='LB1O2'></tfoot><dl id='LB1O2'><fieldset id='LB1O2'></fieldset></dl></div>
                  • <legend id='LB1O2'><style id='LB1O2'><dir id='LB1O2'><q id='LB1O2'></q></dir></style></legend>

                    <tfoot id='LB1O2'></tfoot>

                      <tbody id='LB1O2'></tbody>
                      <bdo id='LB1O2'></bdo><ul id='LB1O2'></ul>
                      • <small id='LB1O2'></small><noframes id='LB1O2'>