“/”应用程序中的服务器错误。
超时时间已到。超时时间已到,但是尚未从池中获取连接。出现这种情况可能是因为所有池连接均在使用,并且达到了最大池大小。
说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: System.InvalidOperationException: 超时时间已到。超时时间已到,但是尚未从池中获取连接。出现这种情况可能是因为所有池连接均在使用,并且达到了最大池大小。
源错误:
行 102: if (MyId != 0)
行 103: {
行 104: object config = DataHelper.ExecuteScalar("SELECT [config] FROM [wap_user] WHERE [id]=" + MyId + " AND [sid]='" + sid + "' AND [status]=0");
行 105: if (config == null)
行 106: {
源文件: d:\www\web\txqq789.com_cgop2ekleedexhf0t04oz\wwwroot\App_Code\Include.cs 行: 104
堆栈跟踪:
[InvalidOperationException: 超时时间已到。超时时间已到,但是尚未从池中获取连接。出现这种情况可能是因为所有池连接均在使用,并且达到了最大池大小。]
System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) +327
System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +154
System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +21
System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) +90
System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) +217
System.Data.SqlClient.SqlConnection.Open() +96
NuoHa.Data.DataHelper.ExecuteScalar(String sql) +189
NuoHa.Web.Include.Conn(Int32 LoginType) in d:\www\web\txqq789.com_cgop2ekleedexhf0t04oz\wwwroot\App_Code\Include.cs:104
home_profile.Page_Load(Object sender, EventArgs e) in d:\www\web\txqq789.com_cgop2ekleedexhf0t04oz\wwwroot\wml\home\profile.aspx.cs:15
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
System.Web.UI.Control.OnLoad(EventArgs e) +95
System.Web.UI.Control.LoadRecursive() +59
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +678
版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.7.2053.0