viewstate MAC Error in Website

Posted by Alok under Error and Solution on 4/1/2012 | Points: 10 | Views : 2297 | Status : [Member] | Replies : 4

I Frequently Get this Error In My Website..

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.


Also Session TimeOut very Quikly although I Have Set session Timeout =30 minutes in webconfig.
Plese Reply A Suitable Solution...It is Urgent..

Thanks & Regards,
Alokssm



Responses

Posted by: Akiii on: 4/2/2012 [Member] Bronze | Points: 25

Up
0
Down
Hi Alok,

try this link :-

http://www.a2zmenu.com/Blogs/AspNet/Validation-of-viewstate-MAC-failed.aspx



Thanks and Regards
Akiii

Alok, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Alok on: 4/2/2012 [Member] Starter | Points: 25

Up
0
Down
Hi Akki,
Thanks For Reply..My Mac Error is Solved...
But now i have new problem...Session timeout..
My Session expire Very quicklty..
I Have sesion timeout =30 minutes in web config as

<sessionState mode="InProc" cookieless="false" timeout="30">

Please Reply Why my Session Expire So quickly..

Thanks & Regards,
Alokssm

Alok, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Akiii on: 4/2/2012 [Member] Bronze | Points: 25

Up
0
Down
Check this forum Alok :-

http://forums.asp.net/t/1588181.aspx/1


Regards
Akiii

Alok, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Rajni.Shekhar on: 4/2/2012 [Member] Bronze | Points: 25

Up
0
Down
check if you have domain issue....

like yoursite.com
yoursite.in
yoursite.org

so when you switch the domain, session will be killed itself.
check below site:

http://support.microsoft.com/kb/324772

Thanks,
Rajni Shekhar

Alok, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response