SQLSERVER:Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool.
Posted 厚德载物
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了SQLSERVER:Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool.相关的知识,希望对你有一定的参考价值。
1、Max Pool Size 默认为100。
2、查看当前数据库连接数量,
select * from sysprocesses where dbid= db_id(‘数据库名称‘)
结果为190,
3、添加数据库查询的最大连接数量
Data Source=.;Initial Catalog=i_Master;Persist Security Info=True;User ID=NUser;Password=N2;max pool size=500
设置最大连接数量 500
以上是关于SQLSERVER:Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool.的主要内容,如果未能解决你的问题,请参考以下文章
偶尔出现SqlException: Timeout expired
Execution Timeout Expired - 随机用于简单的更新命令
Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool
navigator.geolocation.getCurrentPosition 总是得到错误代码 3: timeout expired