ASP.NET 2.0 警告, 求处理办法, 急急急。。。。
我的网站用asp.net 2.0 (C#) + SQL Server 2000, 服务器是Windows 2000,
可能是我的网站程序有漏洞,每天都有好警告, 把应用程序日志写满后,网站就打不开了。
警告内容如下
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.
我原以为是数据库连接打开后没有关闭,第二次再去连接时出错,我就把所有连接在执行之前做了一个 判断,如果是连接状态就把它先关闭再执行连接操作。但还是不解决问题。
求高人指点。