上传服务器后 打开一些页面 偶尔会出现下面这个错误 
Unable to validate data. 
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Web.HttpException: Unable to validate data.Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  Stack Trace: 
[HttpException (0x80004005): Unable to validate data.]
   System.Web.Configuration.MachineKey.GetDecodedData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Int32& dataLength) +196
   System.Web.UI.LosFormatter.Deserialize(String input) +60[HttpException (0x80004005): 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.UI.LosFormatter.Deserialize(String input) +118
   System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +102[HttpException (0x80004005): Invalid_Viewstate
Client IP: 124.156.116.217
Port: 3118
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)
ViewState: =
Http-Referer: http://www.wanma-electron.com/index.aspx
Path: /search_results.aspx.]
   System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +448
   System.Web.UI.Page.LoadPageViewState() +18
   System.Web.UI.Page.ProcessRequestMain() +447在网上找了N久 就是找不到解决 方法 大家帮帮忙啊
网址是 www.wanma-electron.com 
分不够到时另算~~

解决方案 »

  1.   

    看看这儿; 
    http://coffeefrustrate.blogbus.com/logs/2006/09/3260843.html
      

  2.   

    网址打开显示oledb的执行错误,是不是哪里权限没设对
      

  3.   


    http://coffeefrustrate.blogbus.com/logs/2006/09/3260843.html
      

  4.   

    http://coffeefrustrate.blogbus.com/logs/2006/09/3260843.html
    这个没说什么解决方法
      

  5.   

    已经解决了.是程序的与.net环境的不兼容性问题.
    If you are receiving HttpExceptions in your ASP.NET applications on postbacks; saying, Unable to validate data, you may try setting enableViewStateMac to true. You can do so at page level or for entire site in web.config.多谢大家 结帖