Am Getting Following Error on my ASP.NET C# Page Button Click event
The state information is invalid for this page and might be corrupted.
i've Added
if (Request.Browser.Browser == "Firefox")
{
Response.Cache.SetNoStore();
}
And in Web.Config
viewStateEncryptionMode="Never"
then also am getting error what Problem why this error Occuring to me
Regards....,
R.V.Rajagopalan


Suthish NairRank #92 · 22.8K reputationPosted Apr 24, 2015, 11:39 AM EDT
Gowtham RajamanickamRank #57 · 29K reputationPosted Apr 24, 2015, 10:14 PM EDT
Rajagopalan R VRank #6,801 · 256 reputationPosted Apr 26, 2015, 10:01 PM EDT
Thanq For ur Reply the Trace log is Mentioned Below and i've Enabled Event Validation Also then Also am Getting Same Error
Log Entry : 4/27/2015 11:16:39 AM
Error in: http://localhost:1666/Web/Form/Test.aspx
System.FormatException: The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or a non-white space character among the padding characters.
at System.Convert.FromBase64String(String s)
at System.Web.UI.ObjectStateFormatter.Deserialize(String inputString)
at System.Web.UI.ObjectStateFormatter.System.Web.UI.IStateFormatter.Deserialize(String serializedState)
at System.Web.UI.Util.DeserializeWithAssert(IStateFormatter formatter, String serializedState)
at System.Web.UI.HiddenFieldPageStatePersister.Load() - mscorlib
Regards....,
R.V.Rajagopalan