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