Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/asp.net/32.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
事件查看器中的Asp.Net错误消息:无法验证数据_Asp.net_Iis 6_Windows Server 2003_Viewstate_Web Config - Fatal编程技术网

事件查看器中的Asp.Net错误消息:无法验证数据

事件查看器中的Asp.Net错误消息:无法验证数据,asp.net,iis-6,windows-server-2003,viewstate,web-config,Asp.net,Iis 6,Windows Server 2003,Viewstate,Web Config,我们有一个Asp.NETWebForm页面,它在UpdatePanel中包含一个GridView,并且每分钟刷新一次。每过一分钟,我们就会在事件日志中看到以下错误 Error Message:Unable to validate data. Stack Trace: at System.Web.Configuration.MachineKeySection.GetDecodedData(Byte[] buf, Byte[] modifier, Int32 start, Int32 lengt

我们有一个Asp.NETWebForm页面,它在UpdatePanel中包含一个GridView,并且每分钟刷新一次。每过一分钟,我们就会在事件日志中看到以下错误

Error Message:Unable to validate data.
Stack Trace:   at System.Web.Configuration.MachineKeySection.GetDecodedData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Int32& dataLength)
   at System.Web.UI.ObjectStateFormatter.Deserialize(String inputString).
我们尝试了以下方法

  • 在Web.Config中添加静态机器密钥。(不起作用?)
  • 使用以下条目禁用Web.Config中的查看状态Mac。(不起作用)
  • 
    
    是否还有其他原因可能导致这种情况


    更新:我们仅在实时服务器上收到此错误。不在测试或开发服务器上。

    您是否找到了导致此问题的原因?我遇到了相同的问题?请帮忙!你找到原因了吗?我也有同样的问题?请帮忙!
    <pages buffer="true" enableViewStateMac="false">