“/”应用程序中的服务器错误。

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

说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.InvalidOperationException: 超时时间已到。超时时间已到,但是尚未从池中获取连接。出现这种情况可能是因为所有池连接均在使用,并且达到了最大池大小。

源错误:

执行当前 Web 请求期间生成了未经处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。

堆栈跟踪:


[InvalidOperationException: 超时时间已到。超时时间已到,但是尚未从池中获取连接。出现这种情况可能是因为所有池连接均在使用,并且达到了最大池大小。]
   System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) +5360364
   System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +146
   System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +16
   System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) +94
   System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) +110
   System.Data.SqlClient.SqlConnection.Open() +96
   IBatisNet.DataMapper.SqlMapSession.OpenConnection(String connectionString) +283

[DataMapperException: Unable to open connection to "Microsoft SQL Server, provider V2.0.0.0 in framework .NET V2.0".]
   IBatisNet.DataMapper.SqlMapSession.OpenConnection(String connectionString) +480
   IBatisNet.DataMapper.SqlMapSession.OpenConnection() +24
   IBatisNet.DataMapper.Commands.DbCommandDecorator.System.Data.IDbCommand.ExecuteReader() +18
   IBatisNet.DataMapper.MappedStatements.MappedStatement.RunQueryForList(RequestScope request, ISqlMapSession session, Object parameterObject, IList`1 resultObject, RowDelegate`1 rowDelegate) +174
   IBatisNet.DataMapper.MappedStatements.MappedStatement.ExecuteQueryForList(ISqlMapSession session, Object parameterObject) +108
   IBatisNet.DataMapper.SqlMapper.QueryForList(String statementName, Object parameterObject) +181
   PMS.IBatisNet.Dao.BaseSqlMapDao.ExecuteQueryForList(String statementName, Object parameterObject) +170

[DataMapperException: SQL:Select          sortid,sortType,sortUrls,sortLeft,sortName,sortNameA,sortNo        From v_xsw_p_sort     WHERE   sortid =  @param0
Error executing query 'Select_v_xsw_p_sort' for list.  Cause: Unable to open connection to "Microsoft SQL Server, provider V2.0.0.0 in framework .NET V2.0".]
   PMS.IBatisNet.Dao.BaseSqlMapDao.ExecuteQueryForList(String statementName, Object parameterObject) +449
   PMS.IBatisNet.Dao.Daov_xsw_p_sort.Search(Hashtable ht) +59
   PMS.IBatisNet.Business.BaseBizView`1.Search(HashParam hp) +135
   PMS.Web.news.img._default.get_Conditions() +285
   PMS.Web.news.img._default.InitPageData() +113
   PMS.Web.news.img._default.Page_Load(Object sender, EventArgs e) +72
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
   System.Web.UI.Control.OnLoad(EventArgs e) +92
   System.Web.UI.Control.LoadRecursive() +54
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.0.30319.36480