Great Ideas. Always Flowing.

We are not happy until you are happy. Client satisfaction guaranteed. Whatever your needs and requirements, we have the skills and resources for the job!

Quick login...


Or... now make it easy with Facebook Integration
Connect via Facebook



Top Sellers

Frustrated over the lack of customization for your user's registration fields? Dynamically setup your DNN Portal with custom registration fields, layout, questions, and other core integration options......

Ultra Video Gallery is a brother product of Ultra Media Gallery, UVG allows you to upload videos in various format and automatically encode them to flv or H264 format, you also can add videos from internet or record live videos from your webcam.

Build high performance, completely customizable data-entry forms and views driven by your DNN and external databases. New built-in tools make it a snap to quickly create data entry forms, data views, and even database tables. Plus, add your own HTML, CSS, Javascript, SQL commands, stored procedures,

The most advanced DotNetNuke shopping cart on the planet. Easy to use e-Commerce, Secure Shopping Cart Software and SEO friendly. B2C / B2B Ecommerce Sites.

One stop solution for events calendar and events registration! FREE DOWNLOAD is available now!

intermittent Viewstate error on latest version
Last Post 01-20-2011 03:42 PM by Ryan Bakerink. 5 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Robb BrynUser is Offline
going with the flow
going with the flow
Posts:74
Avatar

--
09-16-2010 06:52 AM
    we've been getting complaints lately about people having trouble logging in and getting the following error.

    Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.

    it seems to come and go and doens't have a defined pattern.  the only feature we are using in the dynamic login is to redirect to a page by role.

    If I login again, it's fine...it doesn't happen every time and occurs on every role group.

    the exact error logged in DNN event log is:


    AssemblyVersion: 5.5.0
    PortalID: 0
    PortalName: xxxxxxxxxx
    UserID: 46
    UserName: monteithco.com
    ActiveTabID: 213
    ActiveTabName: Login
    RawURL: /Login/tabid/213/Default.aspx?returnurl=%2fdefault.aspx
    AbsoluteURL: /Default.aspx
    AbsoluteURLReferrer: http://xxxxxxxxxxxxxxxxxxxx/Login/t...fault.aspx
    UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 1.1.4322; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; OfficeLiveConnector.1.5; OfficeLivePatch.1.3)
    DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
    ExceptionGUID: ed46a3c7-7d34-4ff9-9a62-eb18ffbfef96
    InnerException: Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.
    FileName:
    FileLineNumber: 0
    FileColumnNumber: 0
    Method: System.Web.Configuration.MachineKeySection.GetDecodedData
    StackTrace:
    Message: DotNetNuke.Services.Exceptions.PageLoadException: Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that 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 configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster. ---> System.Web.UI.ViewStateException: Invalid viewstate. Client IP: 65.15.108.234 Port: 14548 User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 1.1.4322; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; OfficeLiveConnector.1.5; OfficeLivePatch.1.3) ViewState: /wEPDwULLTE2NDIyOTEzMjkPZBYGZg8WAh4EVGV4dAV5PCFET0NUWVBFIGh0bWwgUFVCTElDICItLy9XM0MvL0RURCBYSFRNTCAxLjAgVHJhbnNpdGlvbmFsLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL1RSL3hodG1sMS9EVEQveGh0bWwxLXRyYW5zaXRpb25hbC5kdGQiPmQCAQ9kFg4CBA8WAh4HVmlzaWJsZWhkAgUPFgQeB2NvbnRlbnRkHwFoZAIGDxYEHwJkHwFoZAIHDxYCHwIFOUNvcHlyaWdodCAoYykgMjAxMCBieSBNb250ZWl0aCBDb25zdHJ1Y3Rpb24gQ29ycCBJbnRyYW5ldGQCCA8WBB8CZB8BaGQCCQ8WAh8CBSNNb250ZWl0aCBDb25zdHJ1Y3Rpb24gQ29ycCBJbnRyYW5ldGQCDA8WAh8CBQ1JTkRFWCwgRk9MTE9XZAICD2QWAgIBD2QWBmYPZBYCZg8WAh8BaBYCZg9kFgJmD2QWBgIDDxBkZBYAZAIPD2QWAmYPDxYGHghJbWFnZVVybAUUL2ltYWdlcy9jb2xsYXBzZS5naWYeDUFsdGVybmF0ZVRleHQFCE1pbmltaXplHgdUb29sVGlwBQhNaW5pbWl6ZRYKHgd1c2VyY3RyBQlVc2FiaWxpdHkeB3VzZXJrZXkFFENvbnRyb2xQYW5lbFZpc2libGUwHgdvb... ---> 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.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:


    Robb BrynUser is Offline
    going with the flow
    going with the flow
    Posts:74
    Avatar

    --
    09-19-2010 01:03 PM
    just an update on this one... I just logged in here to post an update on another thread... and got the same error displayed that my users are seeing intermittantly. it doens't appear that the problem is localized to our setup - datasprings.com has the same problem.
    Adam BUser is Offline
    skipping stones
    skipping stones
    Posts:5

    --
    11-03-2010 07:20 PM
    any update on this?
    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    11-08-2010 11:43 AM
    Hi Guys - Well we have had other clients report this to us recently however in some of their cases they also were not using Dynamic Login but even the core DNN Login module. In most cases it would be situations where you had the page loaded already but then went to login again later. For example if you had our site already opened in the browser for a few hours or days and then went to navigate off of that. If you google the error directly you will see many references however I am not really sure there is any consistency or way to avoid this at this time.

    -Chad
    Adam BUser is Offline
    skipping stones
    skipping stones
    Posts:5

    --
    12-07-2010 05:24 PM
    I just wanted to let people know that I was able to work around this by changing a setting in the web.config.  I changed enableViewStateMac to false in the pages tag.

    enableViewStateMac="false"

    This has gotten rid of the issue for me.

    Adam
    Ryan BakerinkUser is Offline
    river guide
    river guide
    Posts:1900
    Avatar

    --
    01-20-2011 03:42 PM
    Hello Adam,

    Thank you for the contributed knowledge, if you ever have any questions please let us know.

    Thanks,

    Ryan
    You are not authorized to post a reply.


     
     

    Join our mailing list...

    Get current news and events the easy way
    Subscribe Me

    Recent Blogs...

     
    Copyright 2005 - 2011 by Data Springs, Inc.
     
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi