I've been chasing this problem around for a few days now and its driving me
nuts. We keep getting these errors in our web application intermittently.
I can't cause the problem myself to attempt to reproduce. From the reading
I've done, people run into this when urlencoding and urldecoding improperly,
but I don't think that is the case here. It looks like there's an issue
with the ViewState...perhaps its getting corrupted or truncated (hence the
call System.Web.UI.Page.LoadPageStateFromPersistenceMed ium) in the trace
below.
From reading MSDN, I thought that if a ViewState excpetion occurred, the
InnerException object was set so then you could retrieve the ViewState where
the error occurred and decode it. That doesn't seem to happen in this
instance.
Anyway, if anyone has seen this issue and has any insight, I'd definitely
appreciate any help. Thanks!
Invalid length for a Base-64 char array.
Source:mscorlib
Stack Trace: at System.Convert.FromBase64String(String s)
at System.Web.UI.LosFormatter.Deserialize(String input)
at System.Web.UI.Page.LoadPageStateFromPersistenceMed ium()
http://www.frightcatalog.com