私は2台のサーバーを持っていますIIS6ここで、ロードバランシングは負荷分散ハードウェアによって行われます。応答がServer 1
を設け、ポストバックが、それは常にエラーThe state information is invalid for this page and might be corrupted
を取得し、Server 2
によって処理されるとInvalid viewstate
ポストバックごとほとんど上の要求は、代替のサーバーによって処理されたときに下に。 サーバの電源を切ると問題なく動作しているようです。エラーメッセージ:このページの状態情報は無効であり、壊れている可能性があります(無効なビューステート)
私はdecryptionKey
とvalidationKey
は両方正確同じ両方のサーバーの展開上、またenableEventValidation="false"
とenableViewStateMac="false"
WTHですチェックインしました。 Googleが提供するあらゆる種類のソリューションで運がなかった:P
exception
が発生するスタックトレースをHiddenFieldPageStatePersister.Load()
にしてから、Page.LoadPageStateFromPersistenceMedium()
を確認してください。
[ViewStateException: Invalid viewstate.
Client IP: 192.168.5.21
Port: 60042
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
ViewState: {VIEWSTATE DATA}
[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) +118
System.Web.UI.ViewStateException.ThrowViewStateError(Exception inner, String persistedState) +13
System.Web.UI.HiddenFieldPageStatePersister.Load() +222
System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +107
System.Web.UI.Page.LoadAllState() +43
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6230
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +247
System.Web.UI.Page.ProcessRequest() +79
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +23
System.Web.UI.Page.ProcessRequest(HttpContext context) +111
OrderJourneyDefault.ProcessRequest(HttpContext context) in C:\inetpub\wwwroot\x\Default.aspx.cs:350
ASP.toj_application_orderjourney_default_aspx.ProcessRequest(HttpContext context) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\82a64fa9\62e4fa0\App_Web_31vcm2al.0.cs:0
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +406
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +76
注:台無しに自分のアプリケーションに何のAJAX/Javascriptの関連のものをありません。
ありがとうございます。
Munim