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 27:             {
Line 28:                 mainMenuId = Convert.ToInt32(Request.QueryString["m"].ToString());
Line 29:                 mainMenu = this.GetMenu(mainMenuId);
Line 30:             }
Line 31: 

Source File: d:\亚博快三彩票网站\www\sites\www.artall.com.cn\newsContent.aspx.cs    Line: 29

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) +6296273
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +6296622
   System.Data.SqlClient.SqlConnection.Open() +300
   RhinoCms.DBUtility.SqlHelper.ExecuteDataset(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) in D:\Work\RhinoCMS\sourcecode\RhinoCms.DBUtility\SqlHelper.cs:498
   RhinoCms.SqlServerDAL.MenusDAL.Get(Int32 menuId) in D:\Work\RhinoCMS\sourcecode\RhinoCms.SqlServerDAL\MenusDAL.cs:18
   RhinoCms.BLL.MenusBLL.Get(Int32 menuId) in D:\Work\RhinoCMS\sourcecode\RhinoCms.BLL\MenusBLL.cs:46
   RhinoCms.SiteAPI.SiteViewExtension.GetMenu(ISiteView self, Int32 iMenuId) +171
   sites_www_artall_com_cn_newsContent.Page_Load(Object sender, EventArgs e) in d:\亚博快三彩票网站\www\sites\www.artall.com.cn\newsContent.aspx.cs:29
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   RhinoCms.SiteAPI.BasePage.OnLoad(EventArgs e) +328
   System.Web.UI.Control.LoadRecursive() +71
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3048


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