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 ForumsForumForum5.0.3 Error on clicking to latest post5.0.3 Error on clicking to latest post
Previous
 
Next
New Post
10/5/2011 7:33 PM
 
I'm testing 5.0.3 on dnn 6.0.2, and if I'm looking at a forum display and I click on the date representing the latest post I get a critical error with the following information:

InnerException: DotNetNuke.Modules.Forum.ForumUserInfo cannot be serialized because it does not have a parameterless constructor.

Method: System.Xml.Serialization.TypeScope.GetTypeDesc

StackTrace:

Message: DotNetNuke.Services.Exceptions.PageLoadException: DotNetNuke.Modules.Forum.ForumUserInfo cannot be serialized because it does not have a parameterless constructor. ---> System.InvalidOperationException: DotNetNuke.Modules.Forum.ForumUserInfo cannot be serialized because it does not have a parameterless constructor. at System.Xml.Serialization.TypeScope.GetTypeDesc(Type type, MemberInfo source, Boolean directReference, Boolean throw ) at System.Xml.Serialization.ModelScope.GetTypeModel(Type type, Boolean directReference) at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace) at DotNetNuke.Common.Utilities.XmlUtils.Serialize(Object obj) at DotNetNuke.Services.Log.EventLog.EventLogController.AddLog(Object businessObject, PortalSettings portalSettings, Int32 userID, String userName, String logType) at DotNetNuke.Security.Profile.DNNProfileProvider.UpdateUserProfile(UserInfo user) at DotNetNuke.Security.Profile.DNNProfileProvider.GetUserProfile(UserInfo& user) at DotNetNuke.Entities.Users.UserInfo.get_Profile() at DotNetNuke.Modules.Forum.Posts.RenderPostAuthor(HtmlTextWriter wr, PostInfo Post, Boolean PostCountIsEven) at DotNetNuke.Modules.Forum.Posts.RenderPost(HtmlTextWriter wr, PostInfo Post, Boolean PostCountIsEven) at DotNetNuke.Modules.Forum.Posts.RenderPosts(HtmlTextWriter wr) at DotNetNuke.Modules.Forum.Posts.RenderThread(HtmlTextWriter wr) at DotNetNuke.Modules.Forum.Posts.Render(HtmlTextWriter wr) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at Telerik.Web.UI.RadAjaxPanel.RenderChildren(HtmlTextWriter writer) at Telerik.Web.UI.RadAjaxPanel.RenderContents(HtmlTextWriter writer) at Telerik.Web.UI.RadAjaxPanel.Render(HtmlTextWriter writer) at Telerik.Web.UI.ControlRenderer.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.UpdatePanel.RenderChildren(HtmlTextWriter writer) at System.Web.UI.UpdatePanel.Render(HtmlTextWriter writer) at Telerik.Web.UI.OurUpdatePanel.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at DotNetNuke.UI.Modules.ModuleHost.RenderContents(HtmlTextWriter writer) at System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at ASP.portals__default_containers_dnn_gray_image_header___color_background_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at ASP.portals_0_skins_cm2_ice_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Page.Render(HtmlTextWriter writer) at Telerik.Web.UI.RadAjaxControl.RenderPageInAjaxMode(HtmlTextWriter writer, Control page) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Page.Render(HtmlTextWriter writer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

I shall revert my test site to 6.0.1 later today in order to check if this happens there too, but in the meantime can someone tell me if this is this a known problem?

Many thanks

Barry
 
New Post
10/6/2011 11:13 AM
 
Ah well, I had another go - reverted to 4.9.5 and forums 4.4 and did all the upgrades again, got the same thing but then it settled down and hasn't happened again.  Hey ho, as you were.
 
New Post
10/6/2011 11:19 AM
 
You did well, i had this problem also, no reply no help from anybody !!!

 
New Post
11/19/2011 1:24 PM
 
Try to disable Enable USer Folders under Users/Avatar
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForum5.0.3 Error on clicking to latest post5.0.3 Error on clicking to latest post


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