Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- '/' 應用程式中發生伺服器錯誤。
- 這個頁面的狀態資訊無效,而且可能已經損毀。
- 描述: 在執行目前 Web 要求的過程中發生未處理的例外情形。請檢閱堆疊追蹤以取得錯誤的詳細資訊,以及在程式碼中產生的位置。
- 例外詳細資訊: System.Web.HttpException: 這個頁面的狀態資訊無效,而且可能已經損毀。
- 原始程式錯誤:
- 只有在偵錯模式編譯時,才可以顯示產生此未處理例外狀況的原始程式碼。若要啟動,請依照下列步驟之一,然後要求 URL:
- 1. 將 "Debug=true" 指示詞加入產生錯誤的程式碼頂端。例如:
- <%@ Page Language="C#" Debug="true" %>
- 或:
- 2. 將下列區段加入您應用程式的組態檔:
- <configuration>
- <system.web>
- <compilation debug="true"/>
- </system.web>
- </configuration>
- 請注意: 第二種技巧會導致在偵錯模式下編譯指定應用程式中的所有檔案。第一種技巧只會造成在偵錯模式下編譯該特定檔案。
- 重要資訊: 在偵錯模式下執行應用程式會過度耗用記憶體/效能。在實際執行部署之前,應該先確認應用程式已經停止偵錯。
- 堆疊追蹤:
- [FormatException: 輸入不是有效的 Base-64 字串,因為它含有非 Base-64 字元、兩個以上填補字元,或在填補字元中有非空白字元。]
- System.Convert.FromBase64String(String s) +0
- System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) +77
- 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() +147
- [ViewStateException: 無效的 Viewstate。
- Client IP: ::1
- Port: 11283
- Referer: http://localhost:8081/
- Path: /Index/index.aspx
- User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.52 Safari/536.5
- ViewState: /wEPDwULLTEwMDUyNjYzMjhkZLM0dW47wqCEdiw/DR0HLGqZ7O4h+dWVPGCU3dv6nTFW,/wEPDwUKLTgxOTA4OTQzMA9kFgJmD2QWAgIDD2QWAgIFD2QWAgIDDzwrAA8AZBgBBTNjdGwwMCRDb250ZW50UGxhY2VIb2xkZXJDb250ZW50Q29udGVudCREZXRhaWxzVmlldzEPZ2TTnSUFXus7bloHEtLTrJ61aqDyPA+6yucZvpVbOZ3mcA==]
- [HttpException (0x80004005): 這個頁面的狀態資訊無效,而且可能已經損毀。]
- System.Web.UI.ViewStateException.ThrowError(Exception inner, String persistedState, String errorPageMessage, Boolean macValidationError) +235
- System.Web.UI.ViewStateException.ThrowViewStateError(Exception inner, String persistedState) +14
- System.Web.UI.HiddenFieldPageStatePersister.Load() +251
- System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +106
- System.Web.UI.Page.LoadAllState() +43
- System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +8431
- System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +253
- System.Web.UI.Page.ProcessRequest() +78
- System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21
- System.Web.UI.Page.ProcessRequest(HttpContext context) +49
- ASP.index_index_aspx.ProcessRequest(HttpContext context) +4
- System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +100
- System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
- 版本資訊: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.0.30319.272
Advertisement
Add Comment
Please, Sign In to add comment