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

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

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

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

源错误:


行 28:             string fullName=string.Empty;
行 29:             //所有模板路径都保存在模板表里,
行 30:             fullName = (new TemplateSystem()).GetTemplateNameByID(UrlHelper.CurrentDocumentGuid);
行 31: 
行 32:             System.Web.UI.Control control = Activator.CreateInstance(Type.GetType("SolutionX.UI.Web.ContentManagementSystem.App_Control.Template." + UrlRewriterUtility.GetControlName(), true, true)) as System.Web.UI.Control;

源文件: E:\WebSite\SolutionVss\SolutionX\UI\Web\ContentManagementSystem\App_Control\WebPageBase.cs    行: 30

堆栈跟踪:


[InvalidOperationException: 超时时间已到。超时时间已到,但是尚未从池中获取连接。出现这种情况可能是因为所有池连接均在使用,并且达到了最大池大小。]
   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +4861594
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +117
   System.Data.SqlClient.SqlConnection.Open() +122
   SolutionX.DataAccess.DataProvider.SqlDataProvider.SqlHelper.PrepareCommand(SqlCommand cmd, SqlConnection conn, SqlTransaction trans, CommandType cmdType, String cmdText, SqlParameter[] cmdParms) in E:\WebSite\SolutionVss\SolutionX\DataAccess\DataProvider\SqlDataProvider\SqlHelper.cs:405
   SolutionX.DataAccess.DataProvider.SqlDataProvider.SqlHelper.ExecuteScalar(CommandType cmdType, String cmdText, SqlParameter[] commandParameters) in E:\WebSite\SolutionVss\SolutionX\DataAccess\DataProvider\SqlDataProvider\SqlHelper.cs:309
   SolutionX.DataAccess.AccessProvider.ContentManagementSystemAccess.Content.Templates.SelectTemplateName(String id) in E:\WebSite\SolutionVss\SolutionX\DataAccess\AccessProvider\ContentManagementSystemAccess\Content\Templates.cs:13
   SolutionX.Business.Rules.ContentManagementSystemRules.Content.TemplateRule.SelectTemplateNameByID(String id) in E:\WebSite\SolutionVss\SolutionX\Business\Rules\ContentManagementSystemRules\Content\TemplateRule.cs:14
   SolutionX.Business.Facade.ContentManagementSystemFacade.Content.TemplateSystem.GetTemplateNameByID(String id) in E:\WebSite\SolutionVss\SolutionX\Business\Facade\ContentManagementSystemFacade\Content\TemplateSystem.cs:22
   SolutionX.UI.Web.ContentManagementSystem.App_Control.WebPageBase.OnInit(EventArgs e) in E:\WebSite\SolutionVss\SolutionX\UI\Web\ContentManagementSystem\App_Control\WebPageBase.cs:30
   System.Web.UI.Control.InitRecursive(Control namingContainer) +333
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378


版本信息: Microsoft .NET Framework 版本:2.0.50727.3053; ASP.NET 版本:2.0.50727.3053