Click here to Skip to main content
15,917,971 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am making modifications of a current ASP.NET site. I'm somewhat new to ASP.NET so I am only doing little things. I only added a button and a function:
  <asp:Button Text="OPEN TEST" runat="SERVER" OnClick="TEST_COMMAND" ID="BUTTEST" />

I made the TEST_COMMAND but it suppose to change the button's text.
When I click the button I get the following 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.

I've been reading up on the problem but there isn't really a solution.

1 solution

Found out that the form wasn't posting back to the right page. Silly Error

Didn't give enough information here.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900