客户系统部署在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值改为与原来不同的。

相关文章:

  • 2022-03-04
  • 2021-10-13
  • 2021-07-07
  • 2022-01-01
  • 2021-11-15
  • 2022-12-23
  • 2021-05-19
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-10
  • 2021-06-15
  • 2021-11-22
  • 2021-05-22
  • 2022-12-23
  • 2021-04-07
相关资源
相似解决方案