在自己的32位机器测试没问题,但放到64位的服务器就会出现以下报错.请教解决方案
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.HttpException: The state information is invalid for this page and might be corrupted.
Source Error:
[No relevant source lines]
Source File: c:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root\d69e4c6f\e1d20a1e\App_Web_b3l4qx-u.3.cs Line: 0
Stack Trace:
[FormatException: Invalid length for a Base-64 char array.]
System.Convert.FromBase64String(String s) +0
System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) +96
System.Web.UI.Util.DeserializeWithAssert(IStateFormatter formatter, String serializedState) +88
System.Web.UI.HiddenFieldPageStatePersister.Load() +124
[ViewStateException: Invalid viewstate.
Client IP: 172.30.5.14
Port: 11265
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; CIBA; InfoPath.2; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022)
ViewState: kxiPDUwzTHRvZDhEh7slx+4coQoK+nhqFksoR6skvvk92MU0GmNoRWAthnfdOSJmR5pyRnA648hEOjaSwW5PyklKJB9dMzFhVEeAXFD4BRgfIwHUiVRLn27emkisleimnuKoKGHuxus5SjbcJUqaEmhP0PzGO34l0tu3++/IYf5uXY/fBlDBk2tLOQgFjPfh6pz5HgB6A4THPtrpbiiZyipxzl1xeF1Dv/zC0I5sSqwPQbuoPi57L8WzCzN0HlM0TTTnqXd9l284dZu40kaviBaDXu3HXvobk5M5nLEXzOVOEnsqdtD91vWGM3gt+UcLnlcnPQrRoUx3wac/IKmU6gvSpIPe+npsSMh1qBm+2hXNVw+Cc5yuY+9zxpVhPuGDnRs9BmlftwX0FxetpcS/v0HrEBun2O7G6e+mAWVsM5AnSxNFoBIm3Hw+iSpvNJx80x9V/CyG/izVUQ27c/fjJ0eaN0rziHLRmV9cuPJy32aPcGNco1HyykZ1098xt9T08mUmNpJqcK+T0SIwmZ+YRwlbetlNgXAl9bY06g5uV1DTm5bRHDnHH8Oafg+NbPjWNWkd+rYgU6U5FKEsOP+WxKA/urhhU9T+EECLM/i5o7emhe9X9FXOaNnJXMndRuUZpaFqwbwA8ncmg24rP+HkbVXnw0sCaabWRfHNAl+As0eZy9NlYQcW7R+wdgfWfUHfYPseiUTaqLoYBTbCJdnTeDmEyiiNmNGsyOAITMYqvAEsH5Jd7iEMD9pnA3AXWCflxSu4enAeBlhCm+hpfHR0FVNnAFzBhK...]
[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) +163
System.Web.UI.HiddenFieldPageStatePersister.Load() +310
System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +279
System.Web.UI.Page.LoadAllState() +44
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5268
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +236
System.Web.UI.Page.ProcessRequest() +105
System.Web.UI.Page.ProcessRequest(HttpContext context) +292
ASP.app_tc_tradedeclaration_tradedeclarationerrorcorrection_aspx.ProcessRequest(HttpContext context) in c:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root\d69e4c6f\e1d20a1e\App_Web_b3l4qx-u.3.cs:0
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +499
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +177