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...Module ForumsModule ForumsEventsEventsCannot click on "Edit" or Edit Series for EventsCannot click on "Edit" or Edit Series for Events
Previous
 
Next
New Post
4/7/2011 3:10 PM
 
Here are the error details.



ModuleId: 694

ModuleDefId: 93

FriendlyName: Events

ModuleControlSource: DesktopModules/Events/Events.ascx

AssemblyVersion: 5.6.2

PortalID: 0

PortalName: LaGrave Christian Reformed Church

UserID: -1

UserName:

ActiveTabID: 153

ActiveTabName: Nyahee

RawURL: /test/Nyahee.aspx

AbsoluteURL: /Default.aspx

AbsoluteURLReferrer: http://www.lagrave.org/test/Nyahee.aspx

UserAgent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: 4c528bcf-e6e5-4f06-b076-f1b93592ddf2

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.ModuleLoadException: 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.AddedControl(Control control, Int32 index) at DotNetNuke.Modules.Events.Events.LoadModuleControl() --- End of inner exception stack trace ---



Sorry I didn't respond sooner. Thanks, Andy



 
New Post
4/7/2011 3:24 PM
 
Hi Andy,

Can you mail me offline at webmaster @ the domain in my profile.

Thanks

Roger


DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
New Post
4/10/2011 4:25 PM
 
Running latest version of everything including the beta release of this module as I tried it to see if it would fix this.

Add, Edit and Delete get errors like this:

Error: events is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: 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.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at DotNetNuke.Modules.Events.Events.LoadModuleControl() --- End of inner exception stack trace ---
 
New Post
4/10/2011 4:49 PM
 
Hi Cody,

I've done some offline investigation into this with Notandy, and I'm convinced this is a DNN Core bug. Here are my comments from my recent email back to Notandy. This work was done on a copy of his site.

I spent a reasonable amount of time on this yesterday, because I was pretty sure that it wasn't a problem with the Events module. The things I did that didn't immediately solve the problem:-

  • Changed skin to default on whole site
  • Changed Module Cache Provider to File - though I had to do this by editing the database because the Host Settings page errored
  • Changed Cache Setting to Moderate
  • Changed Authenticated Cacheability to Public
  • Upgrade the module to 5.2.0
  • Change jQuery back to 1.4.2

I tried the Cache and jQuery items because it looked to be problems in that area. The major reason I considered not an Events module issue is because when I click the Return button in the Events module I get the error listed below (yellow triangle in bottom left corner of IE), which I also get when I click the 'Restart Application' button on the Host Settings page (different error to the one mentioned above, which wasn't repeated).

I tried one more thing this morning - to turn off GZip Compression. This immediately resolved the problem. I also then turned back the other settings, and the problem is still solved.

I tried setting the setting on my Dev 5.6.2 with GZip on, and I get the same error. I tried the same setup in my Events module dev on DNN 5.5.0 - no problem

So this implies to me a problem with DNN 5.6.2. I'm personally avoiding 5.6.2 because I know of a security hole in it, and I think there are bugs that I'm not prepared to deal with (this is now one of them).

Consequently I'm now satisfied this is not an Events module problem so I don't intend to do any more work on it. I will have a look around and see if this is a known error, and let you know if I find anything.

Here is the error:-

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E)
Timestamp: Sat, 9 Apr 2011 17:33:27 UTC

Message: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.
Details: Error parsing near '<!DOCTYPE html PUBLI'.
Line: 5
Char: 62099
Code: 0
URI: http://localhost/Lagrave/ScriptResour...

I did this search on Google which came up with a load of likely suspects which suggest this is a known problem.

http://www.google.co.uk/#sclient=psy&hl=en&site=&source=hp&q=dnn+5.6.2+gzip&aq=f&aqi=&aql=&oq=&pbx=1&fp=438694ac33275399

Therefore can you try turning off GZip compression on your site, and see if that solves the problem.

Cheers
Roger

DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
New Post
4/10/2011 9:28 PM
 

Therefore can you try turning off GZip compression on your site, and see if that solves the problem.



Cheers

Roger




Turning off Gzip compression cured the problem on my end.  Thanks a million for the support hope this helps out the next person.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsCannot click on "Edit" or Edit Series for EventsCannot click on "Edit" or Edit Series for Events


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