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

Rajagopalan R VPosted Apr 27, 2015, 2:01 AM
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
Gowtham RajamanickamPosted Apr 25, 2015, 2:14 AM
Suthish NairPosted Apr 24, 2015, 3:39 PM