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 39:     {
Line 40:         SqlConnection sqlConn = new SqlConnection(conn);
Line 41:         sqlConn.Open();
Line 42:         string SQLstatement;
Line 43:         SQLstatement = "SELECT *"

Source File: c:\websites\47052cfd\App_Code\Obj_SimpleCMS.cs    Line: 41

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) +1261381
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105
   System.Data.SqlClient.SqlConnection.Open() +111
   Obj_SimpleCMS.loadSimpleCMS(String _pageName) in c:\websites\47052cfd\App_Code\Obj_SimpleCMS.cs:41
   ASP.global_asax.Application_BeginRequest(Object sender, EventArgs e) in c:\websites\47052cfd\Global.asax:51
   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.1433; ASP.NET Version:2.0.50727.1433