Server Error in '/' Application.

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.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: 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.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[InvalidOperationException: 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.]
   System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) +343
   System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +156
   System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +22
   System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) +92
   System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) +219
   System.Data.SqlClient.SqlConnection.Open() +101
   System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +121
   System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) +162
   System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) +111
   Simple.Data.SqlServer.SqlSchemaProvider.SelectToDataTable(String sql, SqlParameter[] parameters) +225
   Simple.Data.SqlServer.SqlSchemaProvider.GetColumnsDataTable(Table table) +239
   Simple.Data.SqlServer.SqlSchemaProvider.GetColumns(Table table) +210
   Simple.Data.Ado.Schema.Table.GetColumns() +67
   System.Lazy`1.CreateValue() +186
   System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +27
   System.Lazy`1.get_Value() +12935884
   Simple.Data.Ado.Schema.Table.get_Columns() +49
   Simple.Data.Ado.QueryBuilderBase.SetQueryContext(SimpleQuery query) +548
   Simple.Data.SqlServer.SqlQueryBuilder.Build(SimpleQuery query, IEnumerable`1& unhandledClauses) +85
   Simple.Data.SqlServer.SqlCustomQueryBuilder.Build(AdoAdapter adapter, Int32 bulkIndex, SimpleQuery query, IEnumerable`1& unhandledClauses) +84
   Simple.Data.Ado.QueryBuilder.Build(SimpleQuery query, IEnumerable`1& unhandledClauses) +174
   Simple.Data.Ado.AdoAdapterQueryRunner.GetQueryCommandBuilders(SimpleQuery& query, IEnumerable`1& unhandledClauses) +311
   Simple.Data.Ado.AdoAdapterQueryRunner.RunQuery(SimpleQuery query, IEnumerable`1& unhandledClauses) +250
   Simple.Data.Ado.AdoAdapter.RunQuery(SimpleQuery query, IEnumerable`1& unhandledClauses) +79
   Simple.Data.DatabaseRunner.RunQuery(SimpleQuery query, IEnumerable`1& unhandledClauses) +65
   Simple.Data.SimpleQuery.Run() +98
   Simple.Data.SimpleQuery.Cast() +54

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0
   System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +91
   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +105
   System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) +21
   Simple.Data.SimpleQuery.TryConvertToGenericCollection(ConvertBinder binder, Object& result, Type collectionType) +490
   Simple.Data.SimpleQuery.TryConvert(ConvertBinder binder, Object& result) +287
   CallSite.Target(Closure , CallSite , Object ) +143
   Arena.UI.Common.CacheHelper.GetListVideos(Int32 siteId, Int32 companyId, Int32 videosFromyouTube) in C:\Users\paul\Git\Alpha\Arena\Electronics Arena (Redesign)\Common\RecreateCacheInitialPage.cs:864
   AlphaPublishing.ElectronicsArena.Common.VideosPanelList.Bind() in C:\Users\paul\Git\Alpha\Arena\Electronics Arena (Redesign)\Common\VideosPanelList.ascx.cs:85
   Arena.UI.CompanyPages.Videos.SetupMetaData(CompanyLite company) in C:\Users\paul\Git\Alpha\Arena\Electronics Arena (Redesign)\CompanyPages\Videos.aspx.cs:29
   Arena.UI.CompanyPages.Videos.Page_Load(Object sender, EventArgs e) in C:\Users\paul\Git\Alpha\Arena\Electronics Arena (Redesign)\CompanyPages\Videos.aspx.cs:23
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.EventHandler.Invoke(Object sender, EventArgs e) +0
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4690.0