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 ForumsForumForumForum Module post read errorForum Module post read error
Previous
 
Next
New Post
11/23/2010 12:33 PM
 
Modules which have personalized (user specific data) generally do not permit module level caching. The module definition for the forum has this set so it cannot (or shouldn't be able to) be edited in module settings (meaning, it should not be anything but 0). This does not mean the module doesn't cache, it simply means it doesn't use the module level caching (and instead caches things at the install level, as long as you have caching set under Host Settings -> Performance to anything but None). 

As for comparing data, the best tools I have come across are from redgate. SQL Compare, specifically, is a great tool for what you are doing. You can get a 14 day trial to see if you like it. 

Back to your original point, though, I am a bit concerned about the issues you had. I am not sure if they are GoDaddy related (I don't think so) or something with data. The question becomes, is it a core or a module issue. The same module you are working with is running here on Enterprise 5.6 and I also have it running on a 5.4.x release on www.dnnforums.com. 

Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
New Post
11/23/2010 12:51 PM
 
I will poke around the db to see what the setting really is.  What I now see is that on the sites where Forum stops working, I have only 2 choices for caching, memory and page, with memory the default.  BUT every time I change it to page and update, when I come back it is set to memory again (with a big red warning...).  The 'virgin' site that is now continuing to run has only 'new' users/settings, but also has page caching as the default (but with 3 choices, and a red warning whenever page or memory are chosen; none specified IS an option there, though...); whenever I update, then come back to page as the setting; it says 'inherited'...  I will check my page's  'inheritance' settings; we may be onto something here....
 
New Post
12/4/2010 2:50 PM
 
I checked the website property... it's already there. Also tried disabling the avatars functions - didn't take...

Any further thoughts? I have the same problem and really want to push forward instead of backward (not sure I can go back!).

So...
The clues are:


View post generates runtime error (event detail below) for any post created after the forum update EXCEPT for posts created by the HOST. All other attempts to view post (even by an admin) through the error...

Everyone can post new posts.
?
Does that give anyone a clue as to what might be null in ".NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Modules.Forum.Posts.RenderPostAuthor(HtmlTextWriter wr, PostInfo Post, Boolean PostCountIsEven) at DotNetNuke.Modules.Forum.Posts.RenderPost(HtmlTextWriter wr, PostInfo Post, Boolean PostCountIsEven) "

Any ideas appreciated. I've got Redgate - but don't have the pre-upgrade schema availalble to compare to...





AssemblyVersion: 5.6.0
PortalID: 2
PortalName: ~~~~~~~
UserID: 872
UserName: vroom1.6host4
ActiveTabID: 632
ActiveTabName: Jobs/Discussions
RawURL: /JobsDiscussions/tabid/632/forumid/16/threadid/194/scope/posts/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.~~~~~.org/JobsDiscussions/tabid/632/forumid/16/scope/threads/Default.aspx
UserAgent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 3f213d09-a6d7-4c34-a6b3-032a52a490ce
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Modules.Forum.Posts.RenderPostAuthor
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. 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 DotNetNuke.Modules.Forum.ForumBaseControl.Render(HtmlTextWriter wr) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.UpdatePanel.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.UpdatePanel.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) at DotNetNuke.UI.Modules.ModuleHost.RenderContents(HtmlTextWriter writer) at System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at ASP.portals_2_containers_bonus_containers1_slate_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at ASP.default_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Page.Render(HtmlTextWriter writer) at DotNetNuke.Framework.PageBase.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Server Name: GENERIC85
 
New Post
12/9/2010 12:28 PM
 
Additional info...



Assuming its a permissions error - I went in to the db views and when I tried to view Forum_vw_ForumUsers I get the following sql error



Msg 207, Level 16, State 1, Procedure Forum_vw_ForumUsers, Line 11

Invalid column name 'EnableDisplayInMemberList'.

Msg 207, Level 16, State 1, Procedure Forum_vw_ForumUsers, Line 5

Invalid column name 'EnablePM'.

Msg 207, Level 16, State 1, Procedure Forum_vw_ForumUsers, Line 6

Invalid column name 'EnableDisplayInMemberList'.

Msg 4413, Level 16, State 1, Line 14

Could not use view or function ...dbo.Forum_vw_ForumUsers' because of binding errors.

 
New Post
12/9/2010 2:30 PM
 
Missing columns were not in the Forums_ForumUsers table (maybe these are/were missed in the upgrade script- which was causing a related view sql runtime error.  I added them manually, with default bit set to 1 for each, the sql runtime error disappeared...







EnablePM



EnableDisplayInMemberList





After manually adding these two columns, and doing a Redgate Schema Compare - a working forum and the broken forum have identical schemas - no object differences.







So - the remaining clue/context is the null object refenrence thrown when anyone tries to view any post created before or after the forum upgrade,  The NOTABLE exception to this, uh exception, is that post created by the HOST appears to be viewable by everyone.







PLEASE, FORUM DEVs, with these clues and the runtime event log error data in mind, can you point me at the suspect tables?  Anything?







Dave G



 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumForum Module post read errorForum Module post read error


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