forms authentication failed the ticket supplied was invalid错误 (Windows Server 2008 + IIS 7.5)

来源:互联网 发布:淘宝公益宝贝好处 编辑:程序博客网 时间:2024/06/10 02:31

客户系统部署在Web Farm环境中,前端2台Web Server(Windows Server 2008 + IIS 7.5)。

偶然登录进一台Server发现Windows提示有系统更新,随手点了更新,于是就杯具了。

第二天,许多客户反映,登录进系统后会被频繁退出,时间间隔很短,甚至每个Post后都会被退出。查看系统日志,发现了大量forms authentication failed the ticket supplied was invalid错误。

Google了下,发现是Windows Security Update for .Net Framework的问题,具体见Scott的博客http://weblogs.asp.net/scottgu/archive/2010/09/30/asp-net-security-fix-now-on-windows-update.aspx

解决方法具体是:

  1. 保证Web Farm里所有Server都安装了Windows更新,主要是Serurity Update fro .Net Framework的更新;
  2. 如果还该错误发生,最简单的是更改Web.config<forms name=".ASPXAUTH"/>节点,把name值改为与原来不同的。
0 0
原创粉丝点击