事件代码: 3005 
事件消息: 发生了未处理的异常。 
事件时间: 2011-3-17 22:57:41 
事件时间(UTC): 2011-3-17 14:57:41 
事件 ID: ab0b83beec77450b8b0c0e988cc7a146 
事件序列: 37101 
事件匹配项: 1 
事件详细信息代码: 0 
 
应用程序信息: 
    应用程序域: /LM/W3SVC/1/ROOT-3-129448464183097254 
    信任级别: Full 
    应用程序虚拟路径: / 
    应用程序路径: D:\gongyishibao\ 
    计算机名: GONGYISHIBAO01 
 
进程信息: 
    进程 ID: 2420 
    进程名: w3wp.exe 
    帐户名: NT AUTHORITY\NETWORK SERVICE 
 
异常信息: 
    异常类型: HttpUnhandledException 
    异常消息: 引发类型为“System.Web.HttpUnhandledException”的异常。 
 
请求信息: 
    请求 URL: http://www.gongyishibao.com/News/201103/133105.aspx 
    请求路径: /News/201103/133105.aspx 
    用户主机地址: 124.205.61.125 
    用户:  
    是否已经过身份验证: False 
    身份验证类型:  
    线程帐户名: NT AUTHORITY\NETWORK SERVICE 
 
线程信息: 
    线程 ID: 1 
    线程帐户名: NT AUTHORITY\NETWORK SERVICE 
    是否正在模拟: False 
    堆栈跟踪:    在 System.Web.UI.Page.HandleError(Exception e)
   在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   在 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   在 System.Web.UI.Page.ProcessRequest()
   在 System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
   在 System.Web.UI.Page.ProcessRequest(HttpContext context)
   在 System.Web.Mvc.ViewPage.ProcessRequest(HttpContext context)
   在 ASP.areas_information_views_news_detail_aspx.ProcessRequest(HttpContext context) 位置 c:\windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\0ca9a684\35935f5f\App_Web_nx8p0u9b.4.cs:行号 0
   在 System.Web.Mvc.HttpHandlerUtil.ServerExecuteHttpHandlerWrapper.<>c__DisplayClass1.<ProcessRequest>b__0()
   在 System.Web.Mvc.HttpHandlerUtil.ServerExecuteHttpHandlerWrapper.<>c__DisplayClass4.<Wrap>b__3()
   在 System.Web.Mvc.HttpHandlerUtil.ServerExecuteHttpHandlerWrapper.Wrap[TResult](Func`1 func)
   在 System.Web.Mvc.HttpHandlerUtil.ServerExecuteHttpHandlerWrapper.Wrap(Action action)
   在 System.Web.Mvc.HttpHandlerUtil.ServerExecuteHttpHandlerWrapper.ProcessRequest(HttpContext context)
   在 System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride)
 
 
自定义事件详细信息: 有关更多信息,请参阅在 http://go.microsoft.com/fwlink/events.asp 的帮助和支持中心。

解决方案 »

  1.   

    页面是不是有Request.QueryString("")而且这个值是null
      

  2.   

    文件夹没权限,加上asp和net用户,试试
      

  3.   

    谢谢朋友们,现在的情况是这样的,每次清空IIS 的程序池后,就一切正常,但是用了1-2天后,就出现,很多类似的奇怪问题,报奇怪的错误,然后我再重启程序池,就又可以了。。程序是用LINQ 写的,我实在是没办法搞明白了。 哪个大哥,能教我一下调试的方法也可以就是时好时坏。
      

  4.   

    调试技巧:
    lambda全都写成lambda{}形式。x>
    {
    0 语法1;//断点
      语法2;}
      

  5.   

    用鼠标选择要调试的代码,
    例如:“dic = ScheduleElement.Element("dic").Value,”
    右键,点击添加断点,vs就会停在你选择的这一行上。
    或者进行try,catch,在catch里面看看exception是什么,有没有InnerException之类的东西
      

  6.   

    特别要注意的是“XML是要区分大小写的”。用LINQ 写要很小心。