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

System.Web.HttpException: Server cannot append header after HTTP headers have been sent. #1205

Closed
mgesing opened this issue Jul 18, 2017 · 1 comment
Assignees
Milestone

Comments

@mgesing
Copy link
Contributor

@mgesing mgesing commented Jul 18, 2017

Caused by Response.End() in WebWorkContext::CurrentCustomer and logged through SmartController::OnException.

@mgesing mgesing added the review label Jul 18, 2017
@mgesing mgesing added this to the 3.1 milestone Jul 18, 2017
mgesing added a commit that referenced this issue Jul 18, 2017
@mgesing
Copy link
Contributor Author

@mgesing mgesing commented Jul 27, 2017

Other occurrences:

System.Web.HttpException (0x80004005): Der Server kann die Cookies nicht ändern, nachdem HTTP-Header gesendet wurden.
   bei System.Web.HttpResponse.BeforeCookieCollectionChange()
   bei System.Web.HttpCookieCollection.Set(HttpCookie cookie)
   bei SmartStore.EuCookieLaw.Filters.EuCookieLawFilter.OnActionExecuting(ActionExecutingContext filterContext)
   bei System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.InvokeActionMethodFilterAsynchronouslyRecursive(Int32 filterIndex)
   bei System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.InvokeActionMethodFilterAsynchronouslyRecursive(Int32 filterIndex)
   bei System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.InvokeActionMethodFilterAsynchronouslyRecursive(Int32 filterIndex)
GET /Country/GetStatesByCountryId?countryId=1&addEmptyStateIfRequired=true
System.Web.HttpException (0x80004005): Der Server kann den Inhaltstyp nicht festlegen, nachdem HTTP-Header gesendet wurden.
   bei System.Web.HttpResponse.set_ContentType(String value)
   bei System.Web.HttpResponseWrapper.set_ContentType(String value)
   bei SmartStore.Web.Framework.Modelling.JsonNetResult.ExecuteResult(ControllerContext context)
   bei System.Web.Mvc.ControllerActionInvoker.InvokeActionResult(ControllerContext controllerContext, ActionResult actionResult)
   bei System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)
bei System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)
   bei System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<>c__DisplayClass2b.<BeginInvokeAction>b__1c()
   bei System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult)
POST /Checkout/BillingAddress
System.Web.HttpException (0x80004005): Keine Umleitung, nachdem die HTTP-Header gesendet wurden.
   bei System.Web.HttpResponse.Redirect(String url, Boolean endResponse, Boolean permanent)
   bei System.Web.HttpResponseWrapper.Redirect(String url, Boolean endResponse)
   bei System.Web.Mvc.RedirectToRouteResult.ExecuteResult(ControllerContext context)
   bei System.Web.Mvc.ControllerActionInvoker.InvokeActionResult(ControllerContext controllerContext, ActionResult actionResult)
bei System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)
   bei System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<>c__DisplayClass2b.<BeginInvokeAction>b__1c()
   bei System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult)

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

No branches or pull requests

2 participants