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 failed.Validation of viewstate MAC failed.
Previous
 
Next
New Post
6/20/2008 1:03 PM
 

I'm running two 4.8.0 sites off the same server.

 

I recieved this error when I attempted to login to one of the sites today:

 

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: 207.34.78.50 Port: 12370 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14 ViewState: /b5RggiAd+T+m0gri2h2kj/85sTJQqKh5UKyLTp0+QJ7aUmYLwRXPaGZurwRMcxLwr8oDwYd9+oWCezxRC8hVZRvR+t5oSczxNVEHYH+yBb4Fzltf/clelcCVrmwX7Mw2KDe+uLFymmd+v3WZ59t9XYce8mf4MgcMByNw3GgrvCcwLGkYpWYlfh8nFeyDYVLS3+sVeceyUV8/e1bu+LSut/G23H+NPne33D7/hpXdyTHejbm2ZuPRiPz2IO3KIi8ZgnvXbL490AiIxlxezvGOhtFe/SH36LpqOTKsd+vp1e4c4qYXLDYD8wV6F39Ke+rJkM++8i9VRCCwb6vhyHLlYLAWLL/Gvsw1Z7x92jEiJmzgYmJrkcvwqaItzG1gESAnmgvPFn9QDA1zG2MmLgR06AKDK3lM5MP3sXkX4jjkTR+6cGXQmlapYgN8Lu2viFlI+mDd94j6ybWZsc6egZ+HiLj+Hcucf3+pDljRUFbqHQVZKAHbpfSy/c7GQ5hZe0jCN3dNfI2Bq2z3le5xGpl+skuXdjXox5V05bh5oCOu8N9pPCZceY5LYdxH/5hfmISDDu0UQSORomSWCEcOGMNzDHt+d3JYeUi55SSv0UCJtfiX/SEL455EAzsRtfrbD4P+TiVDA9mBM1nuV/ZfU3oswfSZV4eflwZwZKlPU5D0mBi/pisRHpcGcz7rNol4ahjSQzAcUPKGwmwMTjjcX5BhzkEABK94oDjFgskWZHH7KqCBemXf9t8e4wk9XdwG3I/iBAvphs+c3R8R+UxSavS863jprQe4+m7IsUQZyEcJEzeLO883KYyBEaR1yIfihSlHnTQj+6gt29CvLBApbqaGDFhNBjf... ---> System.Web.HttpException: Unable to validate data. at System.Web.Configuration.MachineKeySection.GetDecodedData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Int32& dataLength) at System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) --- End of inner exception stack trace --- --- End of inner exception stack trace --- at System.Web.UI.ViewStateException.ThrowError(Exception inner, String persistedState, String errorPageMessage, Boolean macValidationError) 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 ---

I logged into the other site and received the same error. I then tried to login again and the error disappeared (same for the other site). So there is one instance of the error in the event logs for each site. The sites appear to be functioning properly now. They have been functioning properly up to this point and I've never encountered this error before. I double checked the two machine keys and they are not the same. Has this happened to anyone before? Is there a configuration issue I need to deal with?

 

Thanks!

 

 
New Post
7/30/2008 10:48 AM
 

I'm seeing the same issue running 4.8.4.  I've notice it when trying to login to the site.  Users are presented with a similar message.  Login is successful and site starts working again...  Seems like a bug somewhere.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Validation of viewstate MAC failed.Validation 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