积极答复者
超时时间已到。超时时间已到,但是尚未从池中获取连接。出现这种情况可能是因为所有池连接均在使用,并且达到了最大池大小

问题
答案
-
我也觉得跟Connetion pool比较有关,可以试试看把连接字符的Max pool Size设2000(默认100
http://msdn.microsoft.com/zh-cn/library/system.data.sqlclient.sqlconnection.connectionstring.aspx
- The blog of typewriter職人
- Convert C# to VB.NET
- /*If my concept is wrong ,please correct me.Thanks.*/
- 已标记为答案 NewJoin 2012年4月1日 7:21
全部回复
-
请问在什么情况下产生这种异常的? 能贴点您使用的代码吗?
Best Regards,
Rocky Yue[MSFT]
MSDN Community Support | Feedback to us
-
我也觉得跟Connetion pool比较有关,可以试试看把连接字符的Max pool Size设2000(默认100
http://msdn.microsoft.com/zh-cn/library/system.data.sqlclient.sqlconnection.connectionstring.aspx
- The blog of typewriter職人
- Convert C# to VB.NET
- /*If my concept is wrong ,please correct me.Thanks.*/
- 已标记为答案 NewJoin 2012年4月1日 7:21
-
谢谢您的分析,不看程序的话,怎么判断有没有释放连接?
开心了就笑,不开心了就过会儿再笑
因为程序中连接若没关闭的话,就会出现此类错误讯息:
- The blog of typewriter職人
- Convert C# to VB.NET
- /*If my concept is wrong ,please correct me.Thanks.*/