事件类型: 警告
事件来源: ASP.NET 2.0.50727.0
事件种类: Web Event 
事件 ID: 1309
日期: 2010-3-17
事件: 3:49:12
用户: N/A
计算机: TUKJ-FD7FA87889
描述:
Event code: 3005 
Event message: An unhandled exception has occurred. 
Event time: 2010-3-17 3:49:12 
Event time (UTC): 2010-3-16 19:49:12 
Event ID: 1911c6520dfb4104939916031df3aef1 
Event sequence: 230 
Event occurrence: 44 
Event detail code: 0 
 
Application information: 
    Application domain: /LM/W3SVC/504565971/Root-1-129131828356718750 
    Trust level: Full 
    Application Virtual Path: / 
    Application Path: E:\企业网站\qq618.com\ 
    Machine name: TUKJ-FD7FA87889 
 
Process information: 
    Process ID: 3612 
    Process name: w3wp.exe 
    Account name: NT AUTHORITY\NETWORK SERVICE 
 
Exception information: 
    Exception type: InvalidOperationException 
    Exception message: Timeout expired.  The timeout period elapsed prior to obtaining a connection from the pool.  This may have occurred because all pooled connections were in use and max pool size was reached. 
 
Request information: 
    Request URL: http://www.qq618.com/index.aspx 
    Request path: /index.aspx 
    User host address: 124.115.0.107 
    User:  
    Is authenticated: False 
    Authentication Type:  
    Thread account name: NT AUTHORITY\NETWORK SERVICE 
 
Thread information: 
    Thread ID: 7 
    Thread account name: NT AUTHORITY\NETWORK SERVICE 
    Is impersonating: False 
    Stack trace:    at clsDB.GetDS(String strSql, String tableName)
   at index.Page_Load(Object sender, EventArgs e)
   at System.Web.UI.Control.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 
 
Custom event details: 有关更多信息,请参阅在 http://go.microsoft.com/fwlink/events.asp 的帮助和支持中心。

解决方案 »

  1.   

    http://www.qq618.com/index.aspx 
    里面有废弃的语法??
      

  2.   

    Exception message: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached. 
    学会看异常信息。
      

  3.   

    初步看是 应用程序池 达到了最大值或已无可用的连接使用。不过再仔细看看堆栈:
    Stack trace: at clsDB.GetDS(String strSql, String tableName)
    at index.Page_Load(Object sender, EventArgs e)
    at System.Web.UI.Control.OnLoad(EventArgs e)
    at System.Web.UI.Control.LoadRecursive()
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)想问一个问题,页面的Load 中连接数据库?这个页面是不是经常使用,数据库承受不了如此大的压力了。
    可以考虑将数据连接缓存,或 异步显示数据更好。
      

  4.   

    InvalidOperationException 
    非法运算异常。