I am getting the following warnings on the Event Log for a Asp.Net WebSite running on IIS 7.
Exception information:
Exception type: HttpException
Exception message: Server cannot append header after HTTP headers have been sent.
at System.Web.Hosting.ISAPIWorkerRequest.SendUnknownResponseHeader(String name, String value)
at System.Web.HttpResponse.WriteHeaders()
at System.Web.HttpResponse.Flush(Boolean finalFlush)
at System.Web.HttpRuntime.FinishRequest(HttpWorkerRequest wr, HttpContext context, Exception e)
I tried to debug the WebSite but it just does not show in debugger. The web page which has got this issue contains the following.
- Its a content page with a Master page.
- It has a grid inside an UpdatePanel which is Triggered by a Timer.
- On the specified time grid data is refreshed.
Everytime this happens we see a new warning in the EventLog. What is the best way to go about this issue?