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:
Line 902: DbConnection myConnection = provider.CreateConnection();
Line 903: myConnection.ConnectionString = ConnectionIndependent.getConnectionString();
Line 904: myConnection.Open();
Line 905: DbCommand cmd = myConnection.CreateCommand();
Line 906: cmd.CommandText = Sql;
Source File: f:\website\Tataindicom\web\App_Code\DataAccess\ConnectionIndependent.cs Line: 904
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.GetConnection(DbConnection owningConnection) +1184377
System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105
System.Data.SqlClient.SqlConnection.Open() +111
ConnectionIndependent.GetSqlCount(String Sql) in f:\website\Tataindicom\web\App_Code\DataAccess\ConnectionIndependent.cs:904
ASP.global_asax.Application_BeginRequest(Object sender, EventArgs e) in f:\website\Tataindicom\web\Global.asax:126
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42