Recently Viewed...
DNN Modules
SnowCovered Top Sellers

Ultra Media Gallery 5.3
Ultra Media Gallery is the most popular photo gallery and media gallery module for DotNetNuke, the major purpose of this module is to allow you create unlimited pictures and medias to your gallery and organize them by albums, your albums and medias are browsed in flash interface.

Flex By DrNuke
The Flex skins are professionally designed, coded and packaged by a team of DotNetNuke experts. Available in 8 great colours, each with 15 banner images, 2 menu types and a choice of 3 background styles. The entire pack features a total of 2448 skins!

Ultra Video Gallery 2.3
Ultra Video Gallery is a brother product of Ultra Media Gallery, The major purpose of this product is to provide an easy way to add videos in various formats to your website by and play them in a unique flash gallery.

Open-DocumentLibrary v3.0
Powerful, Ajax Enabled, Easy to Use. Document Management has never been better. Open-DocumentLibrary allows DotNetNuke users to share and manage documents in a flexible, intelligent way, offering granular control over Folder and Document access.

Engage: Publish 5.1
Content Workflow + Versioning + Categorization + Multiple Display Options = Truly Advanced DotNetNuke Content Management (Requires DNN 4.5.1 or later)

XMod 5.1
Version 5 of the perennial best-selling tool for creating data-based solutions in DNN without custom programming. This version focuses on greater flexibility, expandability, and ease-of-use.

Events Calendar and Registration 2.1.8 for DNN4.xx
One stop solution for events calendar and events registration! Demo site available for free trial.

Form Master 1.6 For DNN 4
Form Master 1.6 improves on the success of version 1.5 with new features in Function, and Presentation, while maintaining the Intuitive User Interface. Form Master 1.6 delivers visual form design where input fields can easily be created, modified, and moved.

DNNMasters SEO Suite Enterprise w/Source
If you want better Search Engine ranking you need KeepAlive, URL Rewrite, Custom 404 error, Custom Redirect, Friendly URL's, Sitemap, Google Sitemap.DNNMasters SEO Suite delivers all of it and more!

CATALooK.netStore Pro & Booking Tools w/source DNN4
Powerful multilingual, search engine optimized ecommerce store and renting/letting system including a concept utilizing many business models in one application integrates:Catalog,Media gallery,Configurator,Packages,Data entry forms,Subscriptions,Recurring billing,40+ CC Gateways,UPS and USPS support
    |   Register   |   Saturday, August 30, 2008   
Data Springs Product Forums...
Subject: Failed to load viewstate
Prev Next
You are not authorized to post a reply.

Author Messages
Alberto
Posts:13
wading in the water
wading in the water

06/12/2008 5:19 AM  

Hello,

I'm using Dynamic Login 1.0 (DLL version 1.0.0.22113) successfully on a couple of DNN sites, and have a new problem on one of them (DNN 4.8.1): after login the welcome message is correctly displayed, but when user clicks to "continue" I get a "Failed to load viewstate." error.

The same redirection used to work, and I'm not aware of any changes I could have done apart the configuration of the defaulturl setting: could this cause the problem? How can I solve?

I have an Enterprise license, so I could eventually modify code myself if needed - no plan to upgrade for now.

 

Here's the error:

Message: DotNetNuke.Services.Exceptions.PageLoadException: Failed to load viewstate. The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request. For example, when adding controls dynamically, the controls added during a post-back must match the type and position of the controls added during the initial request. ---> System.Web.HttpException: Failed to load viewstate. The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request. For example, when adding controls dynamically, the controls added during a post-back must match the type and position of the controls added during the initial request. at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at System.Web.UI.Page.LoadAllState() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

Thanks for any help,

al.

 

Chad
Posts:1863
river guide
river guide

06/12/2008 1:56 PM  
Hi. Well the 1.0 release was never build or coded against DNN 4.8.1 as there have been many changes (Both in the login module and in DotNetNuke) since the 1.0 release.

If it was working before with DNN 4.8.1 and just stopped though I am not sure. Which page or where are you redirecting the user? Is this a default redirection or based on a security role?

-Chad
Alberto
Posts:13
wading in the water
wading in the water

06/13/2008 1:43 AM  

Hi Chad,

I'm redirecting users to different pages based on their role; I have now 5 role rules, with priorities from 0 to 4.

I just tried chaning the target page, but always get the "failed to load viewstate" error now, for any role.

The strange thing is I have another DNN 4.8.1 on the same phisical server, on which the same module works perfectly

Investigating further....

thanks for helping,

al.

 

Alberto
Posts:13
wading in the water
wading in the water

06/13/2008 3:18 AM  

Chad,

I found the cause of the problem: if I hide the dynamic login module container, whenever user click to "continue" after logging in he gets the "failed to load viewstate" error.

There must be something in module that tries to talk with the container...

Chad
Posts:1863
river guide
river guide

06/13/2008 10:48 AM  
Ahh... thanks for the follow up.

-Chad
You are not authorized to post a reply.



ActiveForums 3.7

Copyright 2005 - 2008 by Data Springs, Inc.
Terms Of Use | Privacy Statement