hotcakes-commerce-core icon indicating copy to clipboard operation
hotcakes-commerce-core copied to clipboard

HCC core, DNN9.1.1 and AppendHeader

Open kurtwilbies opened this issue 8 years ago • 2 comments

I'am testing HCC in DNN9.1.1 and constantly getting the following error:

-	Server cannot append header after HTTP headers have been sent.
-	at System.Web.HttpResponse.AppendHeader(String name, String value)
	at System.Web.HttpResponseWrapper.AddHeader(String name, String value)
	at System.Web.Helpers.AntiXsrf.AntiForgeryWorker.GetFormInputElement(HttpContextBase httpContext)
	at System.Web.Helpers.AntiForgery.GetHtml()
	at DotNetNuke.Framework.ServicesFrameworkImpl.RegisterAjaxAntiForgery(Page page)
	at DotNetNuke.Framework.PageBase.OnPreRender(EventArgs e)
	at DotNetNuke.Framework.DefaultPage.OnPreRender(EventArgs evt)
	at System.Web.UI.Control.PreRenderRecursiveInternal()
	at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

kurtwilbies avatar Jul 25 '17 20:07 kurtwilbies

Another issue and pull request has resolved this error, but there may be multiple scenarios where this error exists. Please include specific steps to reproduce this error so someone can troubleshoot it.

WillStrohl avatar May 15 '20 07:05 WillStrohl

Hello @kurtwilbies ... Can you please provide the specific steps you took to produce and reproduce the exception you reported so we can triage this issue and verify if it's completely resolved?

WillStrohl avatar May 20 '20 15:05 WillStrohl