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

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationFailed to load viewstate during loginFailed to load viewstate during login
Previous
 
Next
New Post
5/3/2010 9:49 AM
 

 Hello Friends

I need your help so plz help me.

I have created one dnn website. In my website login functionality work perfectly but from last few days when i try to login in my website i got following error

A critical error has occurred.
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.

I have not changed any code or added new module or created new page. I don't know why this problem comes?

Plz reply me as soon as possible.

Thanks in advance.

Manjurhusen (manjur.momin@gmail.com, 9924505424, India)

 

 

 
New Post
5/3/2010 1:28 PM
 

We need more information. What version of DNN? Is this with the default DNN login or with one of the other authentication providers? Are you gettng the error when you go to the login page or after you've clicked login? What server OS have you got this installed on?

 
New Post
4/11/2011 6:34 AM
 
I got the same problem.
I created a DNN Portal, and after I try to login / logout I get the same error.

The site was running fine until a couple of days ago this error started showing up.
Nothing was changed. The home page has some standard out-of-the-box DNN modules (announcements, HTML, etc) and some custom built modules (that have not been changed and that have been working for months).

The architecture is composed by 2 machines, one for front-end and one for SQL.
We are using SQL Server 2008, and the frontend is using Windows Server 2008.

We are also using Cache (Heavy Caching) to increase site performance.

The login control is the DNN default. We have not modified it in terms of functionality.
We have simply changed it's layout and design by using customized CSS, but in terms of functionality nothing has been done.


In the Event Log I get the following entry:


 

AssemblyVersion: 5.4.2
PortalID: 1
PortalName: #######
UserID: #
UserName: #
ActiveTabID: 62
ActiveTabName: #######
RawURL: /default.aspx
AbsoluteURL: /default.aspx
AbsoluteURLReferrer: #######
UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; Tablet PC 2.0)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 5806c7ef-fa06-4292-aabd-a3b85bc1371e
InnerException: 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.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.UI.Control.LoadViewStateRecursive
StackTrace:
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.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 ---
Source:
Server Name: #######

















































Any help is welcome.
Right now I don't know why this is happening, and I'm stuck in the solution, because I don't even know where this is happening, how and why.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationFailed to load viewstate during loginFailed to load viewstate during login


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