I Can't login into the cms administration of the website I hosted on a share environment

victor omerenma asked on July 18, 2015 06:47

I hosted a kentico website on a shared environment and after 2 months of being hosted I cannot login to the cms administration section of the site to manage the site content.

I keep getting the following error below:

"Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that

Recent Answers


Roman Hutnyk answered on July 18, 2015 23:59

Is this Kentico 8? If it is add <add key="CMSAdminEmergencyReset" value="admin;password;true" /> to you web.config and login.

More details here.

0 votesVote for this answer Mark as a Correct answer

victor omerenma answered on July 19, 2015 09:32

Hi Roman, I think I didnt phrase the title of my issue very well. The problem exactly that when I tried to login into the cms environment it logs me in and almost immediately logs me out with an error.

"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."

Regards

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on July 20, 2015 05:16

You'll have to create a machineKey and add it to your web.config key. You can then upload your web.config via ftp.

0 votesVote for this answer Mark as a Correct answer

victor omerenma answered on July 20, 2015 11:03

Thanks a lot Brenden, this is my first experience of this nature. Pleas how do I create a machinekey?

Regards

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.