ASP.NET Error – The state information is invalid for this page and might be corrupted

by Steven Ng on June 27, 2010

I ran into this error a second time in the last couple of years and totally forgot how I fixed it, so i’ll blog what my situation and resolution was as a reminder and hopefully to help others.

I have an ASP.NET “default.aspx” page with a form text field with

tags in it. Then i’m making a jQuery (ajax) load function call to another page called “page2.aspx” with
tags in it.

So while on “default.aspx” when I submit my form I get this error: “The state information is invalid for this page and might be corrupted”.

The cause of this is because my “page2.aspx” also has

tags in it, so just remove them and you’re good!

3 comments

Hello!
Interesting article indeed. I am having a similar problem though, in my situation I have a master page, a content page and a user control.
In content page I am using jquery tabs. While in usercontrol I am doing some response.redirect on a linkbutton click event but when i browse my web page in internet explorer i get “The state information is invalid for this page and might be corrupted” but when i comment the jquery tab part everything else works fine except i don’t get the tabs.

How can I make both of them working? Any ideas?

Thank you in advance.

by Blerta on June 30, 2010 at 9:58 am. #

The error is that you change the controls on the form and content so when you postback the viewstate does not match the page.

by Omar Jarid on July 10, 2010 at 6:32 pm. #

Hi Steven,

Iam not able to see your whole blog. I am getting the same problem. If you have solution plz help.Or please mail at testif9@hotmail.com.

by Soniya on June 18, 2011 at 2:08 am. #

Leave your comment

Required.

Required. Not published.

If you have one.