How to solve this error [Resolved]

Posted by Ujjal under ASP.NET on 2/29/2012 | Points: 10 | Views : 1613 | Status : [Member] | Replies : 12
Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.




Responses

Posted by: Akiii on: 2/29/2012 [Member] Bronze | Points: 50

Up
0
Down

Resolved
try this site:

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

It has two option, either you generate the machinekey or you write enableViewStateMac="false" at the page level, not in the configuration level !

Regards
Akiii

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

Posted by: Blessyjees on: 2/29/2012 [Member] Bronze | Points: 25

Up
0
Down
Hi,

Not clear your request. Are you specified the error message?

Blessy Baby
Digitalmesh Softech pvt Ltd
https://blessybaby.wordpress.com/

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

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

Up
0
Down
Hi,

try this site :-
http://weblogs.asp.net/albertpascual/archive/2008/08/11/fixing-the-validation-of-viewstate-mac-failed-error-issue.aspx


Thanks and Regards
Akiii

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

Posted by: Ujjal on: 2/29/2012 [Member] Starter | Points: 25

Up
0
Down
yes that was the error message that i got.

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

Posted by: Ujjal on: 2/29/2012 [Member] Starter | Points: 25

Up
0
Down
Thnx Akiii 4 ur reply but with viewStateEncryptionMode="Never" mode it will be a big security issue.


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

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

Up
0
Down
you want to encrypt the viewstate mode then ?

Akiii

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

Posted by: Ujjal on: 2/29/2012 [Member] Starter | Points: 25

Up
0
Down
Yes that will works fine then.can you share how to implement this one ?

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

Posted by: Ujjal on: 2/29/2012 [Member] Starter | Points: 25

Up
0
Down
Ok akiii let me implement after dat i'll infm u.

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

Posted by: Ujjal on: 2/29/2012 [Member] Starter | Points: 25

Up
0
Down
Thanks the project is working fine now.

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

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

Up
0
Down
good, mark this post as an answer if you problem is solved !


Regards
Akiii

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

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

Up
0
Down
Thanks Ujjal


Regards
Akiii

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

Login to post response