Comments on: Validation of Viewstate MAC Failed https://www.itegritygroup.com/validation-viewstate-mac-failed/ San Diego Web Design Sun, 09 Jan 2011 09:20:11 +0000 hourly 1 https://wordpress.org/?v=5.8.9 By: admin https://www.itegritygroup.com/validation-viewstate-mac-failed/#comment-16 Mon, 02 Mar 2009 02:20:19 +0000 http://www.itegritygroup.com/itegrity/seo-web-development-blog/?p=97#comment-16 In reply to Ed.

Ed,

Are you simply emailing the completed contact application information or are you also storing it in a database?

]]>
By: Ed https://www.itegritygroup.com/validation-viewstate-mac-failed/#comment-15 Thu, 26 Feb 2009 19:21:49 +0000 http://www.itegritygroup.com/itegrity/seo-web-development-blog/?p=97#comment-15 I have a very simple one page (Contact Us) web application. I do not use use Membership, Roles, or Profile Providers. I get the “Validation of Viewstate MAC failed” exception when the user submits the form.

Tools: VS 2008, ASP.NET 3.5
I use validation controls on the form.
Works on my development system.
I get the exception when running the form on the client’s web site which is not hosted in a “web farm” nor “cluster”.

Any ideas?

]]>
By: admin https://www.itegritygroup.com/validation-viewstate-mac-failed/#comment-14 Thu, 29 Jan 2009 20:59:33 +0000 http://www.itegritygroup.com/itegrity/seo-web-development-blog/?p=97#comment-14 In reply to Raju.

Raju,

First it is assumed that you are using MySQL with ASP.NET and Visual Studio. You can certainly do this, but you may want to consider using MS SQL Express, a free version of MS SQL from Microsoft. It has the full feature suite of MS SQL, except it imposes a 4 gig database size restriction, a limit you’ll probably never reach unless you have a very large database or you are storing serialized data such as images. MS SQL and Express are recommended to use with a .NET services architecture over MySQL. Here’s a quick article on MS SQL vs. MySQL.

If you do choose to use MySQL, the solution is very similar. View your MySQL database with a database management program such as phpMyAdmin and follow the instructions in my article. Other than this, the solution should be identical.

]]>
By: Raju https://www.itegritygroup.com/validation-viewstate-mac-failed/#comment-13 Thu, 29 Jan 2009 12:54:45 +0000 http://www.itegritygroup.com/itegrity/seo-web-development-blog/?p=97#comment-13 Can you please mention the solution for mysql database.

]]>