Login error

Implementation of login parameterization, 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.
Who met this kind of problem?

Started by Quentin at November 24, 2016 - 9:27 PM

Friendship Bangding´╝ü

Posted by Eudora at November 29, 2016 - 10:16 PM


Solution.

Posted by Valentine at December 12, 2016 - 10:30 PM

what are you say?????????????

Posted by Oswald at December 14, 2016 - 10:43 PM

It still can not solve the problem

Posted by Quentin at December 20, 2016 - 10:52 PM

Posted by Dempsey at December 30, 2016 - 11:07 PM

The file web.config.
<pages validateRequest="false" enableSessionState="true" enableViewState="true"/>

<pages validateRequest="false" />
Change
<pages validateRequest="false" enableSessionState="true" enableViewStateMac="false" enableViewState="true"/>

<pages validateRequest="false" enableViewStateMac="false" />

The theory is OK

Posted by Chasel at January 03, 2017 - 11:19 PM