Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool.

连接数据库时使用的连接是不是没有及时关闭,导致连接数超过最大的设置了。

检查代码,哪里没有关闭的。

有更详细的说明,参照

http://blogs.msdn.com/b/spike/archive/2008/08/25/timeout-expired-the-timeout-period-elapsed-prior-to-obtaining-a-connection-from-the-pool.aspx

posted @ 2011-12-29 11:29  辎重千钧  阅读(384)  评论(0编辑  收藏  举报