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...Language and In...Language and In...Viewstate Validation Error 6.0.1 Child Portal Admin PageViewstate Validation Error 6.0.1 Child Portal Admin Page
Previous
 
Next
New Post
9/12/2011 4:37 PM
 
I have DNN instance which has been upgraded from 4.9.5 to 6.0.1
Has multiple portals.
One of the child portals has Content Localization enabled.
Languages are en-US (default) and fr-CA (en-US is fallback)
The following scenario is only happens with Admin user i created for child portal.
He logs in... Tries to browse Admin page using Dark Knight's skin top right button.
Button link is: __doPostBack('dnn$cp$IconBar.ascx$cmdAdmin','')

Displayed 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.


Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.


 


Exception Details: 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.


 


Source Error:


 


An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


 


Stack Trace:


 


[ViewStateException: Invalid viewstate. 


Client IP: 94.121.212.71


Port: 23384


Referer: http://dev.or-rouge.com/plancher440/en-us/home.aspx


Path: /Default.aspx


User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.2) Gecko/20100101 Firefox/6.0.2


ViewState: /wEPDwUIODkyMDM2MTkPZBYGZg8WAh4EVGV4dAV5PCFET0NUWVBFIGh0bWwgUFVCTElDICItLy9XM0MvL0RURCBYSFRNTCAxLjAgVHJhbnNpdGlvbmFsLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL1RSL3hodG1sMS9EVEQveGh0bWwxLXRyYW5zaXRpb25hbC5kdGQiPmQCAQ9kFg4CBA8WAh4HVmlzaWJsZWhkAgUPFgIeB2NvbnRlbnQFkgNFeHBlcnRzIGluIGV4b3RpYyBhbmQgdHJhZGl0aW9uYWwgaGFyZCB3b29kIGZsb29ycywgbGFtaW5hdGUgZmxvb3JpbmcgYW5kIG9mZmVyaW5nIHRoZSBsYXJnZXN0IGFycmF5IG9mIHRpbGVzIGFuZCBjZXJhbWljcyBpbiBhbmQgYXJvdW5kIHRoZSBNb250cmVhbCByZWdpb24sIFBsYW5jaGVycyA0NDAgc3VwcGxpZXMgY29udHJhY3RvcnMgYW5kIGluZGl2aWR1YWxzIGFsaWtlIGluIHZhcm5pc2hlZCBvciBvaWxlZCBoYXJkIHdvb2RzIGFzIHdlbGwgYXMgaW4gYnJpY2tzIGFuZCBkZWNvcmF0aXZlIHN0b25lcyBmb3IgaW50ZXJpb3Igd2FsbHMuIFBsYW5jaGVycyA0NDAgYWxzbyBmZWF0dXJlcyBhIHdpZGUgdmFyaWV0eSBvZiBpbm5vdmF0aW5nIGN1c3RvbS1tYWRlIGJpb2V0aGFub2wgZmlyZXBsYWNlcyFk...]


 


[HttpException (0x80004005): 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.ThrowError(Exception inner, String persistedState, String errorPageMessage, Boolean macValidati ) +235


   System.Web.UI.ViewStateException.ThrowMacValidati (Exception inner, String persistedState) +14


   System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) +274


   System.Web.UI.ObjectStateFormatter.System.Web.UI.IStateFormatter.Deserialize(String serializedState) +4


   System.Web.UI.Util.DeserializeWithAssert(IStateFormatter formatter, String serializedState) +37


   System.Web.UI.HiddenFieldPageStatePersister.Load() +241


   System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +106


   System.Web.UI.Page.LoadAllState() +43


   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +747

More info: If i call the urls like below:

http://dev.*-*.com/childportal/en-us/admin.aspx
http://dev.*-*.com/childportal//fr-ca/admin.aspx

It works...

Or-Rouge Team Or-Rouge
Personally recommend Hostgator for hosting single or multiple DotNetNuke Websites.
DotNetNuke Tips and Tutorials
Install DotNetNuke to Godaddy root
DotNetNuke Türkçe Hakkinda Hersey
 
New Post
9/13/2011 7:41 PM
 
ive heard of similar issues that were related to the use of the the whitespace and compression settings so id recommend going to host->host settings, advanced settings, performance settings and disabling whitespace and compression to see if that resolves it

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Language and In...Language and In...Viewstate Validation Error 6.0.1 Child Portal Admin PageViewstate Validation Error 6.0.1 Child Portal Admin Page


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