User-600945157 posted
hi,
I have a number of product pages which have a data pager control on them. An issue i have found is that if the user leaves the page static for a while (approx 5 minutes) and the comes back to the site then clicks either 'next' or 'previous' etc on
the data pager control the following error occurs;
"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.”
I have done some research into this and have been unable to find a solution, in my web config file i dont have a <machineKey>. The only part of the web config file which could possibly be causing the issue is;
<appSettings>
<add key="ValidationSettings:UnobtrusiveValidationMode" value="None" />
</appSettings>
Does anyone have any suggestions on how to fix this issue?
Thanks, Martin