Validation of viewstate MAC failed.
-
I got this error on postback the form after 20 minutes , i am using asp.net 3.5 Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [CryptographicException: Padding is invalid and cannot be removed.] .... ...... [ViewStateException: Invalid viewstate. Client IP: 122.162.81.11 Port: 50254 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.0.19) Gecko/2010031422 Firefox/3.0.19 ViewState: O8yx/NB6OwGsouM4ow3..... please any one suggest?
-
I got this error on postback the form after 20 minutes , i am using asp.net 3.5 Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [CryptographicException: Padding is invalid and cannot be removed.] .... ...... [ViewStateException: Invalid viewstate. Client IP: 122.162.81.11 Port: 50254 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.0.19) Gecko/2010031422 Firefox/3.0.19 ViewState: O8yx/NB6OwGsouM4ow3..... please any one suggest?
Try disabling EnableViewStateMac Property from @Page directive. EnableViewStateMac="false" This may work. Just a guess. :)
Anurag Gandhi.
http://www.gandhisoft.com
Life is a computer program and every one is the programmer of his own life.