且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

窗体身份验证失败的请求。原因:提供的票证已过期

更新时间:2023-12-03 08:36:52

下面是解决方案:

<?xml version="1.0"?>
<configuration>
   <system.web>
      <healthMonitoring>
         <rules>
            <remove name="Failure Audits Default" />
         </rules>
      </healthMonitoring>
   </system.web>
</configuration>

请注意,这将prevent记录了所有 System.Web.Management.WebFailureAuditEvent 事件,其中包括事件范围4005-4011。有可能是一种方法,只是删除4005,但这种方法是配不上我。

Note that this will prevent the logging off all System.Web.Management.WebFailureAuditEvent events, which covers the event range 4005-4011. There is probably a way to just remove 4005, but this solution is good enough for me.

这些都是帮助我的链接:

These are the links that helped me:

  • http://msdn.microsoft.com/en-us/library/ms998325.aspx
  • http://msdn.microsoft.com/en-us/library/ms998306.aspx
  • http://msdn.microsoft.com/en-us/library/ms998325.aspx
  • http://msdn.microsoft.com/en-us/library/ms998306.aspx