首页 > 其他 > 详细

报错: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. 问题

时间:2021-03-27 09:03:22      阅读:15      评论:0      收藏:0      [点我收藏+]

平静的一天,注定不平静

{,…}
Message: "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."
StackTrace: "   at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
?   at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
?   at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
?   at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
?   at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
?   at System.Data.SqlClient.SqlConnection.Open()
?   at Package.Accessfunction(String factory, String svTYPE, String userbarcode)"
ExceptionType: "System.InvalidOperationException"

Timeout expired 超时时间已到. 达到了最大池大小 错误及Max Pool Size设置

https://www.qingtingip.com/h_274187.html

报错: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. 问题

原文:https://www.cnblogs.com/shoupifeng/p/12487126.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!