Hi,
Most of my site works fine. The problem is that when I try to log out I get
an error:
Server Error in '/MyApp' Application.
--------------------------------------------------------------------------------
The state information is invalid for this page and might be corrupted.
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:\WINNT\Microsoft.NET\Framework\v2.0.50727\Tempor ary ASP.NET
Files\MyApp\d2c4a422\44adbb74\App_Web_u2ykb7-8.0.cs Line: 0
Stack Trace:
[FormatException: Invalid character in a Base-64 string.]
System.Convert.FromBase64String(String s) +0
System.Web.UI.ObjectStateFormatter.Deserialize(Str ing inputString) +72
System.Web.UI.ObjectStateFormatter.System.Web.UI.I StateFormatter.Deserialize(String serializedState) +4
System.Web.UI.Util.DeserializeWithAssert(IStateFor matter formatter,
String serializedState) +37
System.Web.UI.HiddenFieldPageStatePersister.Load() +140
[ViewStateException: Invalid viewstate.
Client IP: 192.168.7.10
Port: 4178
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET
CLR 2.0.50727)
ViewState:
/wEPDwUKLTYxNTg4MjQ0Mg9kFgJmD2QWAgIDD2QWAgIFDzwrAA0 CAA8WAh4LXyFEYXRhQm91bmRnZAwUKwAFBQ8wOjAsMDoxLDA6M iwwOjMUKwACFhIeBVZhbHVlBQxNYW5hZ2UgTWVkaWEeCURhdGF Cb3VuZGceCFNlbGVjdGVkZx4EVGV4dAUMTWFuYWdlIE1lZGlhH gtOYXZpZ2F0ZVVybAUqL1pvb21WaWRfRmVybmFuZG8vTWVtYmV ycy9NYW5hZ2VNZWRpYS5hc3B4HgdFbmFibGVkZx4KU2VsZWN0Y WJsZWceB1Rvb2xUaXAFDE1hbmFnZSBNZWRpYR4IRGF0YVBhdGg FKi96b29tdmlkX2Zlcm5hbmRvL21lbWJlcnMvbWFuYWdlbWVka WEuYXNweGQUKwACFhAfBAUGQWxidW1zHwEFBkFsYnVtcx8FBSs vWm9vbVZpZF9GZXJuYW5kby9NZW1iZXJzL01hbmFnZUFsYnVtc y5hc3B4HwgFBkFsYnVtcx8GZx8HZx8JBSsvem9vbXZpZF9mZXJ uYW5kby9tZW1iZXJzL21hbmFnZWFsYnVtcy5hc3B4HwJnZBQrA AIWEB8EBQRCbG9nHwEFBEJsb2cfBQUgL1pvb21WaWRfRmVybmF uZG8vYmxvZy9ibG9nLmFzcHgfCAUEQmxvZx8GZx8HZx8JBSAve m9vbXZpZF9mZXJuYW5kby9ibG9nL2Jsb2cuYXNweB8CZ2QUKwA CFhAfBAUFRm9ydW0fAQUFRm9ydW0fBQUjL1pvb21WaWRfRmVyb mFuZG8vZm9ydW0vZm9ydW1zLmFzcHgfCAUFRm9ydW0fBmcfB2c fCQUjL3pvb212aWRfZmVybmFuZG...]
[HttpException (0x80004005): The state information is invalid for this page
and might be corrupted.]
System.Web.UI.ViewStateException.ThrowError(Except ion inner, String
persistedState, String errorPageMessage, Boolean macValidationError) +116
System.Web.UI.HiddenFieldPageStatePersister.Load() +240
System.Web.UI.Page.LoadPageStateFromPersistenceMed ium() +83
System.Web.UI.Page.LoadAllState() +35
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6953
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint,
Boolean includeStagesAfterAsyncPoint) +154
System.Web.UI.Page.ProcessRequest() +86
System.Web.UI.Page.ProcessRequestWithNoAssert(Http Context context) +18
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.members_manageprofile_aspx.ProcessRequest(Http Context context) in
c:\WINNT\Microsoft.NET\Framework\v2.0.50727\Tempor ary ASP.NET
Files\MyApp\d2c4a422\44adbb74\App_Web_u2ykb7-8.0.cs:0
System.Web.CallHandlerExecutionStep.System.Web.Htt pApplication.IExecutionStep.Execute() +154
System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
completedSynchronously) +64
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET
Version:2.0.50727.42
I do not know what is causing this. My first insinct is to delete the temp
files, but I want to solve this problem before I go to production. In other
words, I don't want to just delete the temp files and then have this happen
again. Can anyone shead any light on this?
Thanks,
Michael.