Knowledgebase

Validation of viewstate MAC failed



To solve this you need to add a machinekey in web.config file

To generate a machine key please use the link below

http://developmentnow.com/asp-net-machinekey-generator/


To Generate a Unique Decryption Key for Each Application please use the link below

https://technet.microsoft.com/en-us/library/cc771837(v=ws.10).aspx


  • 1 Users Found This Useful

Was this answer helpful?

Related Articles

Sending Email via C# and ASP.NET

Add the following to your web.config file:  <system.net>    <mailSettings>...

How do I enable detailed error messages in the web.config of my website?

Detailed Errors allows for debugging errors in your websites code. Without detailed errors...

Can I use ASP.NET State Service?

ASP.NET state service is not enabled due to the fact on shared hosting it keeps the session alive...

Troubleshooting ASP.NET site

In most cases the error should display on the screen.However if it does not you can enable error...

How to Enable ASP.NET Debugging in Plesk

here may be times you need to see more logging or debugging information for your ASP.NET...