發生例外錯誤::System.InvalidOperationException: 已超過連接逾時的設定。在取得集區連接之前超過逾時等待的時間,可能的原因為所有的共用連接已在使用中,並已達共用集區大小的最大值。 於 System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) 於 System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) 於 System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) 於 System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) 於 System.Data.SqlClient.SqlConnection.Open() 於 System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) 於 System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) 於 System.Data.Common.DbDataAdapter.Fill(DataSet dataSet) 於 DdsLib.DB.DoQuery(String SqlStr, List`1 ParamObjList, SqlConnection& conn)