Warning详细信息如下。我想知道如何去跟踪这个Warning异常,或者如何从根本上解决这个问题。
我知道可以在Web.config中加<healthMonitoring enabled="false" /> 屏蔽警告(Warning),但是没有从根本上解决问题,没有找到根本原因。
---------------------------------------------------------------------------------------------
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 5/29/2014 11:13:54 AM
Event time (UTC): 5/29/2014 3:13:54 AM
Event ID: 1f3f55b4ad614f33bec7e142246d111f (Event ID 1309)
Event sequence: 37
Event occurrence: 18
Event detail code: 0
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)
---------------------------------------------------------------------------------------------