我们的一位用户在我们的 Web 应用程序中遇到错误。我们无法复制这个问题,我怀疑它与网络有关。我让用户在他们的办公室和家里使用他们的笔记本尝试应用程序,并确认问题只发生在他们的办公室。
我登录服务器并在他们在办公室尝试后立即查看事件查看器,日志中出现以下警告。
我不知道如何开始追踪这个。有什么建议么?
事件查看器日志如下:
事件代码:3005 事件消息:发生未处理的异常。事件时间:2012 年 6 月 20 日下午 6:32:45 事件时间 (UTC):2012 年 6 月 20 日晚上 10:32:45 事件 ID:ebf8f628a9b3457cbea117c8c2da2186 事件序列:2970 事件发生:26 事件详细代码:0 应用程序信息:
Application domain: /LM/W3SVC/50/ROOT-1-129847041933281152 Trust level: Full Application Virtual Path: / Application Path: c:\websites\foobar.acme.com\ Machine name: MyServer Process information: Process ID: 15152 Process name: w3wp.exe Account name: NT AUTHORITY\NETWORK SERVICE Exception information: Exception type: HttpException Exception message: Server cannot set content type after HTTP headers have been sent. Request information: Request URL: http://foobar.acme.com/Project/Evaluate/ResultsXML.aspx?step=89&uid=4397&rnd=hhf8oe Request path: /Project/Evaluate/ResultsXML.aspx User host address: 192.168.102.1 User: Is authenticated: False Authentication Type: Thread account name: NT AUTHORITY\NETWORK SERVICE Thread information: Thread ID: 12 Thread account name: NT AUTHORITY\NETWORK SERVICE Is impersonating: False Stack trace: at System.Web.HttpResponse.set_ContentType(String value) at System.Web.UI.Page.SetIntrinsics(HttpContext context, Boolean allowAsync) at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.error_aspx.ProcessRequest(HttpContext context) at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride) Custom event details: