Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
|
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 19th, 2006, 04:35 AM
Registered User
 
Join Date: Dec 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Validation of viewstate MAC failed.

   Hello,

   I've been encountering 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."
   While my aspx. page has the following characteristics:
   - is the content of a master page.
   - has 3 textboxes whose values are validated in RequiredFieldValidator, RegularExpressionValidator and CustomValidator and 1 button (asp controls).
   - is embedded with javascript.

   Error's still on even I also fixed it by adding into <%@ page %> the following properties:
   1. The first solution
      - EnableEventValidation="false"
      - ValidateRequest="false"
      - ViewStateEncryptionMode="never"
   2. The second solution
      - EnableViewStateMac="false"
   That's all.

   Please help me overcome that bug. Thanks anyway.

   Grace.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Standalone validation + web form validation morbo Struts 0 August 19th, 2008 04:02 AM
Viewstate Wervis BOOK: ASP.NET Website Programming Problem-Design-Solution 0 November 30th, 2005 09:42 AM
ViewState abdul_owiusa General .NET 0 October 18th, 2005 04:37 PM
Strong name validation failed imtiaz_786 ASP.NET 1.0 and 1.1 Basics 1 February 20th, 2004 04:28 AM
JRun4 for Mac OS + Mac OS X's Java 1.4.1 elbicho J2EE 0 June 27th, 2003 12:18 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.