Guest User

Untitled

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