日期:2014-05-18  浏览次数:20467 次

一个很郁闷的错误。请高手解决。只有一部分人浏览的时候会出现这种错误。
一个很郁闷的错误。请高手解决。只有一部分人浏览的时候会出现这种错误。
我浏览的时候不会有这种错误,只有一少不分人会出现这个错误,不知道为什么。


错误发生位置:http://www.123456.com/vi/index.aspx
System.Web.HttpException:   Invalid_Viewstate
Client   IP:   222.212.16.156
Port:   17498
User-Agent:   Mozilla/4.0   (compatible;   MSIE   6.0;   Windows   NT   5.1;   SV1)
ViewState:   dDwtMjA1NTc2MDkxO3Q8O2w8aTwwPjs+O2w8dDw7bDxpPDEyPjs+O2w8dDxwPDtwPGw8b25jbGljazs+O2w8dGhpcy5zcmM9J2NvZGUuYXNweD8nK01hdGgucmFuZG9tKCkrTWF0aC5yYW5kb20oKVw7Oz4+Pjs7Pjs+Pjs+PjtsPExvZ2luQnV0dG9uO0ltYWdlQnV0dG9uMjs+PuhgUXdM49b/oANT0PUdIewPf9Iw
Http-Referer:   http://www.123456.com/vi/index.aspx
Path:   /vi/index.aspx.   --->   System.Web.HttpException:   Authentication   of   viewstate   failed.     1)   If   this   is   a   cluster,   edit   <machineKey>   configuration   so   all   servers   use   the   same   validationKey   and   validation   algorithm.     AutoGenerate   cannot   be   used   in   a   cluster.     2)   Viewstate   can   only   be   posted   back   to   the   same   page.     3)   The   viewstate   for   this   page   might   be   corrupted.   --->   System.Web.HttpException:   无法验证数据。
      at   System.Web.Configuration.MachineKey.GetDecodedData(Byte[]   buf,   Byte[]   modifier,   Int32   start,   Int32   length,   Int32&   dataLength)
      at   System.Web.UI.LosFormatter.Deserialize(String   input)
      ---   内部异常堆栈跟踪的结尾   ---
      at   System.Web.UI.LosFormatter.Deserialize(String   input)
      at   System.Web.UI.Page.LoadPageStateFromPersistenceMedium()
      ---   内部异常堆栈跟踪的结尾   ---
      at   System.Web.UI.Page.LoadPageStateFromPersistenceMedium()
      at   System.Web.UI.Page.LoadPageViewState()
      at   System.Web.UI.Page.ProcessRequestMain()

------解决方案--------------------
服务器是否用了负载均衡
------解决方案--------------------
不懂UP
------解决方案--------------------
http://www.cnblogs.com/comment?author=bluesusn
------解决方案--------------------
学习了