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

HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Fourms - Server cannot append header after HTTP headers have been sent in DNNFourms - Server cannot append header after HTTP headers have been sent in DNN
Previous
 
Next
New Post
6/2/2010 4:36 PM
 
I am running DNN 5.02.00(275). I get the following error when trying to post to our forums.
"Server cannot append header after HTTP headers have been sent "
I have compression set to:
File
Moderate
No Cache
Deflate Compression
Forums were working fine until I turned off compression completely last night after being turned on since the beginning.
I turned them off at a developers request due to problems with a chat application.
User can create new post, but not reply to existing post. I cannot even reply when logged in as host.
Please tell me there is a fix and my forums are not hammered??????
 
New Post
6/2/2010 4:40 PM
 
I just logged in as Host after clearing out my browsers cache (not that this helped.... I am desparate)
I tried to reply to an existing post and got this message:

Error: 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.PostConnector.PostToDatabase(Int32 TabID, Config objConfig, Int32 PortalID, ForumUser objForumUser, String PostSubject, String PostBody, ForumInfo objForum, Int32 ParentPostID, Int32 PostID, Boolean IsPinned, Boolean IsClosed, Boolean ReplyNotify, Int32 ThreadStatus, String Attachment, String RemoteAddress, Int32 PollID, Int32 ThreadIconID, Int32 ParentThreadID, Boolean ProcessParseInfo, PostAction objAction) at DotNetNuke.Modules.Forum.PostConnector.SubmitPost(Int32 TabID, Config objConfig, Int32 PortalID, ForumUser objForumUser, String PostSubject, String PostBody, Int32 ForumID, Int32 ParentPostID, Int32 PostID, Boolean IsPinned, Boolean IsClosed, Boolean ReplyNotify, Int32 ThreadStatus, String Attachment, String RemoteAddress, Int32 PollID, Int32 ThreadIconID, Boolean IsQuote, Boolean ProcessParseInfo) at DotNetNuke.Modules.Forum.PostEdit.cmdSubmit_Click(Object sender, EventArgs e) --- End of inner exception stack trace ---

I am in over my head. I really need some help. This is not good.

Thanks,
 
New Post
6/2/2010 4:42 PM
 
More information.....
I can delete any post I want without an error.
I only happens when I am trying to reply to a post and sometimes when I try to create a new post.

Thanks,
 
New Post
6/2/2010 4:56 PM
 

Maybe a better error message for someone with more brains than me:

Server cannot append header after HTTP headers have been sent.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: Server cannot append header after HTTP headers have been sent.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 

Stack Trace:

[HttpException (0x80004005): Server cannot append header after HTTP headers have been sent.]
   System.Web.HttpResponse.AppendHeader(String name, String value) +2849901
   DotNetNuke.HttpModules.Compression.CompressingFilter.WriteHeaders() +51
   DotNetNuke.HttpModules.Compression.DeflateFilter.Write(Byte[] buffer, Int32 offset, Int32 count) +21
   DotNetNuke.HttpModules.Compression.WhitespaceFilter.Write(Byte[] buf, Int32 offset, Int32 count) +133
   System.Web.HttpWriter.Filter(Boolean finalFiltering) +8759619
   System.Web.HttpResponse.Flush(Boolean finalFlush) +625
   System.Web.HttpResponse.Flush() +20
   System.Web.HttpWriter.WriteUTF8ResourceString(IntPtr pv, Int32 offset, Int32 size, Boolean asciiOnly) +8652644
   System.Web.UI.HtmlTextWriter.WriteUTF8ResourceString(IntPtr pv, Int32 offset, Int32 size, Boolean fAsciiOnly) +49
   System.Web.UI.ResourceBasedLiteralControl.Render(HtmlTextWriter output) +42
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
   System.Web.UI.Page.Render(HtmlTextWriter writer) +29
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1266

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Fourms - Server cannot append header after HTTP headers have been sent in DNNFourms - Server cannot append header after HTTP headers have been sent in DNN


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