dimanche 12 février 2017

I am getting "Server cannot set status after HTTP headers have been sent issue" in my live website

I have used MVC 3.0 with Orchard solution to develope this site.following is the details that i found in LOG file...

Exception information:

Exception type: HttpException 

Exception message: Server cannot set status after HTTP headers have been sent.

at System.Web.HttpResponse.set_StatusCode(Int32 value)

at System.Web.HttpResponseWrapper.set_StatusCode(Int32 value)

at System.Web.Mvc.HandleErrorAttribute.OnException(ExceptionContext filterContext)

at System.Web.Mvc.ControllerActionInvoker.InvokeExceptionFilters(ControllerContext controllerContext, IList`1 filters, Exception exception)

at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)

at System.Web.Mvc.Controller.<>c__DisplayClass1d.b__19()

at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass1. b__0()

at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass8`1.b__7(IAsyncResult _)

at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.End()

at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)

at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass4.b__3(IAsyncResult ar)

at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.End()

at System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult)

at System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult asyncResult)

at System.Web.Mvc.MvcHandler.<>c__DisplayClass8.b__3(IAsyncResult asyncResult)

at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass4.b__3(IAsyncResult ar)

at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.End()

at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult)

at System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result)

at Orchard.Mvc.Routes.ShellRoute.HttpAsyncHandler.EndProcessRequest(IAsyncResult result)

at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Aucun commentaire:

Enregistrer un commentaire