Skip to main content

Posts

Showing posts from May, 2010

Invalid Viewstate Problem

Recently I have been facing this problem of invalid viewstate. After googling a bit found some interesting concepts and solutions related to viewstate. So I thought let me just make a note of these references and have them handy. This is from the Microsoft Support highlihgting some techniques that you can use to debug / troubleshoot this problem - http://support.microsoft.com/?id=829743 This one is more interesting which highlights how you can get this problem while using Server.Transfer method, again from Microsoft Support - http://support.microsoft.com/kb/316920/ This one here is related to machineKey set to auto generate in machine.config http://forums.asp.net/p/1059371/1516632.aspx This one here is related to third party web site (running on different framework version) posting into your web site. http://blogs.msdn.com/tess/archive/2007/06/11/a-case-of-invalid-viewstate.aspx Hope all your invalid viewstate problems get taken care of with this. Here is the exception detail - Excepti...