系统提示:
在从池中获取连接之前超时时间已过。出现这种情况可能是因为所有池连接都已被使用并已达到最大池大小。
看来是你打开的connection都没去关闭你在函数结尾都加上
if(conn.State == ConnectionState.Open)
{
conn.Close();
}
在从池中获取连接之前超时时间已过。出现这种情况可能是因为所有池连接都已被使用并已达到最大池大小。
看来是你打开的connection都没去关闭你在函数结尾都加上
if(conn.State == ConnectionState.Open)
{
conn.Close();
}
because you build,the moment your min pool size is not rather less,it will create
so mang connection,certainly your server will down.
do not forget,in line,you can deploy it with your right pool size.
good luck