views:

113

answers:

2

Hi! The following error occurs when my webpage is idle for more than 5 min.

Error: Sys.WebForms.PageRequestManagerServerErrorException: Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster. Source File: http://www.dial4jobz.com/ScriptResource.axd?d=Xl5p0QQ%5FqaR3K9bIVhwC3LyqjOX%5FoAKyeLj%5F-uS5j1VoFExVtm3XAHiq64EGJt04xntLJvh-9y3pvN3dvKgg5b6sQwkFvX7GT4f0aKn7iyc1&t=73e6f815

Dono, wat is the cause of this error.. I'll open a web page and after 5 min when I'm accessing it, it is showing this sort of error.. I don't hav any clue that why this error occurs.. Plz, give me any idea???

+2  A: 

use the below code and try

<pages validateRequest="false" enableEventValidation="false" viewStateEncryptionMode ="Never" />

if u need more info kindly refer the link below,

http://blogs.msdn.com/tom/archive/2008/03/14/validation-of-viewstate-mac-failed-error.aspx

http://forums.asp.net/p/955145/1173230.aspx

solairaja
A: 

Hai vaishu, Have a look at this validation-of-viewstate-mac-failed-error

Pandiya Chendur