Installation and deployment
Version 7.x > Installation and deployment > getting "View State MAC failed" error View modes: 
User avatar
Member
Member
neelesh.malvi-gmail - 3/4/2014 4:00:53 AM
   
getting "View State MAC failed" error
Hello,
I am getting "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."
My work Around:-
1) I have installed Kentico with Template"Corporate Site" on the server.
2) After installation i was able to open the site with localhost:77 domain.
3) After this, i have create one another site by importing the zip package.
4) When i am trying to login in the live version of this imported site i am getting above error mentioned.

Solution Tried:
1) I have tried to generate Machine key for my site in IIS and putted it in web.config but not working
2) Also i have set enableViewStateMac="false" in page tag in web.config and still not working.

Can you please help me out for this.....

Thanks

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 3/4/2014 7:20:26 AM
   
RE:getting "View State MAC failed" error
Hello,

First of all I would like to ask you to use the "Questions & answers" section next time. This forum is obsolete and it will be closed soon.

Regarding the issue, have you already checked also the link in this article and this thread?
Are you running web farms?

Best regards,
Juraj Ondrus