当前位置: 代码迷 >> ASP.NET >> 活见鬼了,今天在几台机器上,原来用得好好的程序都出现了。"The state information is invalid for this page and might be corrupted. "
  详细解决方案

活见鬼了,今天在几台机器上,原来用得好好的程序都出现了。"The state information is invalid for this page and might be corrupted. "

热度:6429   发布时间:2013-02-25 00:00:00.0
见鬼了,今天在几台机器上,原来用得好好的程序都出现了。"The state information is invalid for this page and might be corrupted. "
原来用得好好的程序。昨天还好好的。今天准备继续做的时候。
存盘时就出现了错误信息,(看下面)

这是什么回事啊? 我试过移植到另外一台服务器上,同样也出现了一样的东西。天啊,我要赶着交货的哪。。。大家帮帮忙。。。

Server Error in '/LGOldServices' Application.
--------------------------------------------------------------------------------

The state information is invalid for this page and might be corrupted. 
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: The state information is invalid for this page and might be corrupted.

Source Error: 


[No relevant source lines]
 

Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\lgoldservices\10b99f4d\fe7b353e\App_Web_jlz_zk70.4.cs Line: 0 

Stack Trace: 


[FormatException: Invalid character in a Base-64 string.]
  System.Convert.FromBase64String(String s) +0
  System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) +67
  System.Web.UI.ObjectStateFormatter.System.Web.UI.IStateFormatter.Deserialize(String serializedState) +4
  System.Web.UI.Util.DeserializeWithAssert(IStateFormatter formatter, String serializedState) +37
  System.Web.UI.HiddenFieldPageStatePersister.Load() +136

[ViewStateException: Invalid viewstate. 
Client IP: 192.168.0.60
Port: 2962
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET CLR 1.1.4322; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022)
ViewState: /wEPDwUKLTMyNjMzMDc2Mw8WAh4PU2VydmljZU9iamVjdElkBQwxMDAwMDAwMDAwMDEWAgIDD2QWdgIBDw8WAh4EVGV4dAUM5pyN5Yqh5a+56LGhZGQCAw8PFgIfAQUM5Z+65pys6LWE5paZZGQCBA8PFgIfAQUG56S+5Yy6ZGQCBQ8QDxYGHg5EYXRhVmFsdWVGaWVsZAUMQ29tbXVuaXR5X0lkHg1EYXRhVGV4dEZpZWxkBQlDb21tdW5pdHkeC18hRGF0YUJvdW5kZ2QQFQkM5paw55Sf56S+5Yy6DOWNl+iBlOekvuWMugzpvpnlspfnpL7ljLoM6b6Z5Lic56S+5Yy6D+m+meWyl+Win+ekvuWMugzljZfnuqbnpL7ljLoM5ZCM5LmQ56S+5Yy6DOW5s+WNl+ekvuWMugR0ZXN0FQkMMTAwMDAwMDAwMDAxDDEwMDAwMDAwMDAwMgwxMDAwMDAwMDAwMDMMMTAwMDAwMDAwMDA0DDEwMDAwMDAwMDAwNQwxMDAwMDAwMDAwMTMMMTAwMDAwMDAwMDE0DDEwMDAwMDAwMDAxNQwxMDAwMDAwMDAwMTYUKwMJZ2dnZ2dnZ2dnFgECBmQCBg8PFgIfAQUG5oCn5YirZGQCBw8QDxYGHwIFCVNleHVhbF9JZB8DBQZTZXh1YWwfBGdkEBUCA+eUtwPlpbMVAgwxMDAwMDAwMDAwMDkMMTAwMDAwMDAwMDEwFCsDAmdnZGQCCA8PFgIfAQUG5aeT5ZCNZGQCCg8PFgIfAQUP5Ye65...]

[HttpException (0x80004005): The state information is invalid for this page and might be corrupted.]
  System.Web.UI.ViewStateException.ThrowError(Exception inner, String persistedState, String errorPageMessage, Boolean macValidationError) +267
  System.Web.UI.HiddenFieldPageStatePersister.Load() +218
  System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +83
  System.Web.UI.Page.LoadAllState() +35
  System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +7350
  System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +213
  System.Web.UI.Page.ProcessRequest() +86
  System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18
  System.Web.UI.Page.ProcessRequest(HttpContext context) +49
  ASP.serviceobject_edit2_aspx.ProcessRequest(HttpContext context) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\lgoldservices\10b99f4d\fe7b353e\App_Web_jlz_zk70.4.cs:0
  System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +358
  System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

 
  相关解决方案