注册 登录
编程论坛 ASP.NET技术论坛

The state information is invalid

guming 发布于 2007-10-02 20:11, 1512 次点击
网页中出现这样的错误提示: The state information is invalid for this page and might be corrupted.
我找了好多的方法,搞来搞去,但最终这样的页面错误还是会出现,请问:这到底是怎么回事啊,,需要添加哪些设置呢??
请各路高手指点一下了,,谢谢.
6 回复
#2
卡卡艾2007-10-02 21:40
没遇到过.
上网搜搜看,.
#3
guming2007-10-03 09:41
搜好多了,但都没有彻底解决........
#4
guming2007-10-03 09:59

Stack Trace:
[FormatException: Invalid character in a Base-64 string.]
System.Convert.FromBase64String(String s) +0
System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) +72
System.Web.UI.ObjectStateFormatter.System.Web.UI.IStateFormatter.Deserialize(String serializedState) +4
System.Web.UI.ClientScriptManager.EnsureEventValidationFieldLoaded() +172

[ViewStateException: Invalid viewstate.
Client IP: 127.0.0.1
Port: 1455
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; TencentTraveler ; .NET CLR 2.0.50727; .NET CLR 1.1.4322)
ViewState: /wEWCAL36pC8BgLE8eqZCQLn9+W4DgLv0dLjDwKjsP/BBALHk8KtCQL9kpmqCgKBk62FAw==
Referer:
Path: /lunwenweb/mess/res/ponse.aspx]

[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) +116
System.Web.UI.ClientScriptManager.EnsureEventValidationFieldLoaded() +209
System.Web.UI.ClientScriptManager.ValidateEvent(String uniqueId, String argument) +67
System.Web.UI.Control.ValidateEvent(String uniqueID, String eventArgument) +106
System.Web.UI.WebControls.TextBox.LoadPostData(String postDataKey, NameValueCollection postCollection) +31
System.Web.UI.WebControls.TextBox.System.Web.UI.IPostBackDataHandler.LoadPostData(String postDataKey, NameValueCollection postCollection) +11
System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) +408
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6953
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +154
System.Web.UI.Page.ProcessRequest() +86
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.lunwenweb_mess_res_ponse_aspx.ProcessRequest(HttpContext context) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c849e05e\653d4ae6\App_Web_o8b0s9ua.0.cs:0
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +154
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

#5
hero20072007-10-03 12:03
只有本站会员才能查看附件,请 登录

我遇到的是这个问题,也是找了好多方法没解决.
#6
卡卡艾2007-10-03 14:24

楼上的兄弟,你的问题我曾遇到过.后来解决了,.
你去看看这个:
https://bbs.bc-cn.net/viewthread.php?tid=173137
看能解决不.

#7
卡卡艾2007-10-03 14:26
有什么问题再帖上来.
搞定了的话别忘了顶下.
1