Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HttpException Server cannot append header after HTTP headers have been sent #33

Open
CSharpDude opened this issue May 10, 2017 · 2 comments

Comments

@CSharpDude
Copy link

Hi -

We are using the URL rewrite module to handle redirects from multiple old sites that now point to the new Sitecore site. The one issue we see is the logs have a lot of "_HttpException Server cannot append header after HTTP headers have been sen_t" errors. Has this been seen before or do we have something misconfigured perhaps?

Thanks,

Dave

@iamandycohen
Copy link
Owner

iamandycohen commented May 10, 2017 via email

@CSharpDude
Copy link
Author

We are using 1.8.1.3.

Sample from the Sitecore log:
3472 18:43:51 INFO UrlRewrite[web]::Redirecting http://www.academyofarthroscopy.com/gastroenterology-pulmonology/guide-wires.aspx to http://www.conmed.com/ [301]
3472 18:43:51 ERROR Application error.
Exception: System.Web.HttpException
Message: Server cannot append header after HTTP headers have been sent.
Source: System.Web
at System.Web.HttpHeaderCollection.SetHeader(String name, String value, Boolean replace)
at Sitecore.Web.XFrameOptionsHeaderModule.EndRequestHandler(Object sender, EventArgs e)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Thanks,

Dave

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants