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...Performance and...Performance and...Server cannot append header after HTTP headers have been sentServer cannot append header after HTTP headers have been sent
Previous
 
Next
New Post
9/17/2015 11:59 AM
 

Looking at IIS event log I can see on my DNN 7.4.1 installation a lot of exceptions with message "Server cannot append header after HTTP headers have been sent."

It is logged on several websites in the same DNN installation on different pages.

How I can fix it?

Thanks!

 
New Post
9/18/2015 3:05 AM
 

I've looked deeper at this problem and it seems to depend from Open Url Provider that I've installed on my DNN.

I've restyled some my websites using Open Url Rewrite on DNN 7.4.1. It's great and work fine but looking at IIS event log I can find a lot of exceptions, I think all linked to old bot indexed url and no more presents in the new website version.
Opening the URL reported in the exception I can see the right 404 page and no one issue is viewed on browser.
I have to worry about this problem? How I can fix it?
Below you can see one of this reported exceptions:

*********************************************************************
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 9/18/2015 4:50:39 AM
Event time (UTC): 9/18/2015 2:50:39 AM
Event ID: d76b3f2e1f74430491784dbbaee57c00
Event sequence: 776
Event occurrence: 8
Event detail code: 0
Application information:
    Application domain: /LM/W3SVC/12/ROOT-1-150870047247212163
    Trust level: Full
    Application Virtual Path: /
    Application Path: C:\inetpub\DNN741\
    Machine name: WEB002
Process information:
    Process ID: 4496
    Process name: w3wp.exe
    Account name: IIS APPPOOL\DNN741
Exception information:
    Exception type: HttpException
    Exception message: Server cannot append header after HTTP headers have been sent.
   at System.Web.HttpResponse.AppendHeader(String name, String value)
   at Satrabel.HttpModules.UrlRewriteModuleUtils.RewriteUrl(HttpApplication app, Uri url, String& portalAlias, PortalAliasInfo& objPortalAlias, RewriterAction& action, String applicationPath, Boolean isSecureConnection, String httpMethod, String rawUrl, String PhysicalPath)
   at Satrabel.HttpModules.UrlRewriteModuleUtils.RewriteUrl(HttpApplication app, String& portalAlias, PortalAliasInfo& objPortalAlias, RewriterAction& action)
   at Satrabel.HttpModules.UrlRewriteModule.RewriteUrl(HttpApplication app, String& portalAlias)
   at Satrabel.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e)
   at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Request information:
    Request URL: http://www.mywebsite.com/Products/tabid/83/agentType/View/WorkID/4/SoftWork.aspx
    Request path: /Products/tabid/83/agentType/View/WorkID/4/SoftWork.aspx
    User host address: 60.168.59.196
    User: 
    Is authenticated: False
    Authentication Type: 
    Thread account name: IIS APPPOOL\DNN741
 
Thread information:
    Thread ID: 3
    Thread account name: IIS APPPOOL\DNN741
    Is impersonating: False
    Stack trace:    at System.Web.HttpResponse.AppendHeader(String name, String value)
   at Satrabel.HttpModules.UrlRewriteModuleUtils.RewriteUrl(HttpApplication app, Uri url, String& portalAlias, PortalAliasInfo& objPortalAlias, RewriterAction& action, String applicationPath, Boolean isSecureConnection, String httpMethod, String rawUrl, String PhysicalPath)
   at Satrabel.HttpModules.UrlRewriteModuleUtils.RewriteUrl(HttpApplication app, String& portalAlias, PortalAliasInfo& objPortalAlias, RewriterAction& action)
   at Satrabel.HttpModules.UrlRewriteModule.RewriteUrl(HttpApplication app, String& portalAlias)
   at Satrabel.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e)
   at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Custom event details:
*********************************************************************

 
New Post
9/18/2015 9:26 AM
 
Have you asked whomever supports Open Url? Surely they know it better than anyone here.

Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
New Post
9/18/2015 9:58 AM
 
Yes sure. I posted also here because unfortunately I opened the thread at first here before to find the exception origin.
The thread goes on here : https://openurlrewriter.codeplex.com/...
Thanks
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...Server cannot append header after HTTP headers have been sentServer cannot append header after HTTP headers have been sent


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.

Content Layout

Subscribe to DNN Digest

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out