I have an application at n-level C #. In normal mode, we use forms authentication and everything works fine, but when we tried to install authentication on Windows, it started throwing the following exception in some cases (mainly in administration, for exaple, when you try to edit the request and client server for user details). doesn't happen at all in Internet Explorer. In Firefox and Chrome, he drops it every time.
System.Web.HttpException (0x80004005): 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.HttpStatusCodeResult.ExecuteResult(ControllerContext context) at System.Web.Mvc.ControllerActionInvoker.InvokeActionResult(ControllerContext controllerContext, ActionResult actionResult) at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)
Please, can you give me some tips on what could go wrong and how to fix it? Thanks
source share