我不知道以前有没有人见过这个问题,但我只是难过.这是我的错误页面正在捕获的未处理的异常消息.
错误消息:viewstate MAC验证失败.如果此应用程序由Web场或群集托管,请确保配置指定相同的validationKey和验证算法.AutoGenerate不能在群集中使用.
堆栈跟踪:在System.Web.UI.UI.ObjectStateFormatter.System上的System.Web.UI.ObjectState.Forcerialize(String inputString)处的System.Web.UI.ViewStateException.ThrowError(Exception inner,String persistedState,String errorPageMessage,Boolean macValidationError) System.Web.UI.Page上的System.Web.UI.HiddenFieldPageStatePersister.Load()处的System.Web.UI.Util.DeserializeWithAssert(IStateFormatter formatter,String serializedState)中的.Web.UI.IStateFormatter.Deserialize(String serializedState). System.Web.UI.Page.ProcessRequestMain(布局includeStagesBeforeAsyncPoint,布尔includeStagesAfterAsyncPoint)System.Web.UI.Page.ProcessRequest(布局includeStagesBeforeAsyncPoint,System.Web.UI.Page.LoadAllState()上的LoadPageStateFromPersistenceMedium()System.Web.UI.Page.ProcessRequest()中的System.Web.UI.Page.ProcessRequest()处于System.Web.UI.Page.ProcessRequest(HttpContext上下文),位于ASP.generic_aspx.ProcessRequest处的System.Web.UI.Page.ProcessRequest(HttpContext上下文)处的布局includeStagesAfterAsyncPoint( System.Web.HttpApplication.ExecuteStep(IExecutionStep step,Boolean&completedSynchronously)上的System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()中的HttpContext上下文HttpApplication.ExecuteStep(IExecutionStep step,Boolean&completedSynchronously)HttpApplication.ExecuteStep(IExecutionStep step,Boolean&completedSynchronously)
来源:System.Web
有人对我如何解决这个问题有任何想法吗?谢谢.