Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Validation of viewstate MAC failedValidation of viewstate MAC failed
Previous
 
Next
New Post
1/11/2011 1:47 PM
 
Any ideas why this is happening?  This is not a webfarm. 

InnerException: 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.
FileName:
FileLineNumber: -1
FileColumnNumber: -1
Method:
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: 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. ---> System.Web.HttpException: 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. ---> System.Web.UI.ViewStateException: Invalid viewstate. Client IP: 178.93.137.128Port: 4851User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Crazy Browser 2.0.0 Beta 1; .NET CLR 1.0.3705; .NET CLR 1.1.4322)ViewState: 7bESSyzKaAZqExEh4DN14PLKtOCh4T6FDlcMq5mEaoYxyrnf6UcT16m4ZrwKBMVcXhmLb/nwc0l6nCY7OsGaW46e2RfqRxgBFNJj96wKkvDwxYchxFAj4kJsYsg53Q4NmYxdx/Gr+vnhpzlTaRHlqsp80YVc981obUdgMmTUUOMOHYIDGFzZKgZUgJep1wgOQmHHDOsgzCKs8jMoTz6MCUQK7BMSk5RY4mqdUSUYAzduXTEhZJQqwITwXmAeWsVurBvYjuA/DujzEMd/2VCzh3SigZSJSBrNO4k4vqEjbFJsW9Yk4M4cCXIZvpvoDv6WtLk7hkrdTaG9JgkFxqv0+04TitmGp7zxrCaAqDIt3mFIYASOAo0eXhA6kLXrAFADCETlWPr83wtyHWMqTnd8TlNZXOsKYS67VnBj+vvE3cc4xuvnEtS61O9VmGs3u7DkPoq22R9BCjFOQFka95+TpuCQtVqG+2OFnqAzSsDCklAr/sU7RmUMzGOgRBuMn/Bg2JuyxNscfpdZJGX7gk8zMR5QHGG2J+p7YkWtiSZ05OAZNaZWvU+D/MFvMxoaPUo2GoTPs4tzN0ggELeDTQFA6VsMpJ72x+6FypIIqqG4H/11lvz4IaQ60rBwayFxZfnnwVILR3s/5BZQm8snFQpFBnctF2CEmpm6C4OTY+lErzXEZqkEcxdWDmzqlL1pybZC/XVk9J268IBzNf5fKnxWnVQK5auLDHNnIFIcv1632Y61u3xqTahdSQpY2mvfcEPGrtfWrmLaNUvSWkX5z0A4lOAwWRs2HIb/lWDE1ovpBD1FZx7qlF1bYjDauumqYP...--- End of inner exception stack trace ---at System.Web.UI.ViewStateException.ThrowError(Exception inner, String persistedState, String errorPageMessage, Boolean macValidationError)at System.Web.UI.ViewStateException.ThrowMacValidationError(Exception inner, String persistedState)at System.Web.UI.ObjectStateFormatter.Deserialize(String inputString)at System.Web.UI.ObjectStateFormatter.System.Web.UI.IStateFormatter.Deserialize(String serializedState)at System.Web.UI.Util.DeserializeWithAssert(IStateFormatter formatter, String serializedState)at System.Web.UI.HiddenFieldPageStatePersister.Load()at System.Web.UI.Page.LoadPageStateFromPersistenceMedium()at System.Web.UI.Page.LoadAllState()at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)--- End of inner exception stack trace ---
Source:
 
New Post
1/11/2011 4:38 PM
 
please see the wiki http://www.dotnetnuke.com/Resources/Wiki/tabid/1409/Page/Viewstate/Default.aspx

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
1/29/2011 7:07 AM
 
For me this turned out to be due to missing namespaces section underneath (see in italics below).  Some upgrade along the way took those out.  Seems to be running fine now.

<pages validateRequest="false" enableViewStateMac="true" enableEventValidation="false">

<namespaces>

<add namespace="System.ComponentModel" />

<add namespace="System.Data" />

<add namespace="System.Data.SqlClient" />

<add namespace="System.Drawing" />

<add namespace="Microsoft.VisualBasic" />

<add namespace="System.Globalization" />

<add namespace="DotNetNuke.Services.Localization" />

<add namespace="DotNetNuke.Entities.Users" />

<add namespace="DotNetNuke" />

<add namespace="DotNetNuke.Common" />

<add namespace="DotNetNuke.Data" />

<add namespace="DotNetNuke.Framework" />

<add namespace="DotNetNuke.Modules" />

<add namespace="DotNetNuke.Security" />

<add namespace="DotNetNuke.Services" />

<add namespace="DotNetNuke.UI" />

<add namespace="DotNetNuke.Entities.Portals" />

<add namespace="DotNetNuke.Common.Utilities" />

<add namespace="DotNetNuke.Services.Exceptions" />

<add namespace="DotNetNuke.Entities.Tabs" />

</namespaces>

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Validation of viewstate MAC failedValidation of viewstate MAC failed


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out