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 ForumsForumForumError: Add/Edit Post is currently unavailable.Error: Add/Edit Post is currently unavailable.
Previous
 
Next
New Post
6/30/2006 10:52 AM
 

When I attempt to post a thread in the Forum on my site, I can enter the text of my post, but when I submit the post, I get:

Error: Add/Edit Post is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: 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.PostInfo.GetPostInfo(Int32 PostID) at DotNetNuke.Modules.Forum.PostEdit.PostToDatabase() --- End of inner exception stack trace ---

Here is the associated log entry:

ModuleId: 605
ModuleDefId: 108
FriendlyName: Add/Edit Post
ModuleControlSource: DesktopModules/Forum/Forum_PostEdit.ascx
AssemblyVersion: 03.02.00
Method: DotNetNuke.Modules.Forum.PostInfo.GetPostInfo
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 10
PortalName: Androscoggin Divestiture
UserID: 1
UserName: host
ActiveTabID: 224
ActiveTabName: Home
AbsoluteURL: /DotNetNuke/Default.aspx
AbsoluteURLReferrer: http://s0ddsql01.ipaper.com/dotnetnuke/divestiture/Home/tabid/224/ctl/PostEdit/mid/605/forumid/24/action/new/Default.aspx
ExceptionGUID: 9ebda1c7-3575-4cbd-b819-967eed9dd3ce
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Object reference not set to an instance of an object.
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: 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.PostInfo.GetPostInfo(Int32 PostID) at DotNetNuke.Modules.Forum.PostEdit.PostToDatabase() --- End of inner exception stack trace ---
StackTrace:
Source:

I'm hosting this on my own server.  I'm using Forum 3.20.01.  I'm using DNN 3.2.0.  I'm using .NET Framework 1.1.4322.2032.  I'm using IIS 5.0 on Windows 2000 Server.  I get this error whether I'm logged in as a portal administrator or host.  Portal administrators have edit rights in this forum.

I look forward to your help.

Larry

 
New Post
7/10/2006 9:07 AM
 

I fixed this myself.  I never got any replies, so I guess nobody else had any answers or was experiencing this failure.  Anyway, what I found out was:

Don't put triggers on the Forum tables in the database!

The RSS syndication of the Forum module never seemed to work satisfactorily for me, so I had created a stored procedure to write the forum content to an RSS file.  I put a trigger Forum_Threads table to fire that stored procedure whenever a thread was added.  Apparently, that messed up the module, somehow.  I took the trigger off and everything worked after that.

As far as RSS, I created a scheduled job that calls the RSS-writing stored procedure once an hour.  That's good enough for me.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumError: Add/Edit Post is currently unavailable.Error: Add/Edit Post is currently unavailable.


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