09-03-2009, 02:07 AM
|
عضو سوبر
|
|
تاريخ التسجيل: Nov 2008
المشاركات: 355
معدل تقييم المستوى: 33
|
|
Server Error in '/ColAfrad' 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 *****ed.
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 *****ed.
Source *******
Line 51: protected void btnNew_Click(object sender, EventArgs e)Line 52: {Line 53: DataAccess.Student student = DataAccess.Student.Get(txtNationalIDNumber.Text);Line 54: Line 55: if (student != null)
Source File: d:\kfsc.edu.sa\App\AfradCollege\Online\NewStudent. aspx.cs Line: 53
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 *****ed.] System.Data.Provider****.DbConnectionFactory.GetCo nnection(DbConnection owningConnection) +1261381 System.Data.Provider****.DbConnectionClosed.OpenCo nnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105 System.Data.SqlClient.SqlConnection.Open() +111 DataAccess.Connection.get_SQLConnection() in C:\Users\otaibyk\Desktop\Institute3\DataAccess\Con nection.cs:26 DataAccess.Student.Get(String nationalIDNumber) in C:\Users\otaibyk\Desktop\Institute3\DataAccess\Stu dent.cs:172 Online_NewStudent.btnNew_Click(Object sender, EventArgs e) in d:\kfsc.edu.sa\App\AfradCollege\Online\NewStudent. aspx.cs:53 System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105 System.Web.UI.WebControls.Button.RaisePostBackEven t(String eventArgument) +107 System.Web.UI.WebControls.Button.System.Web.UI.IPo stBackEventHandler.RaisePostBackEvent(String eventArgument) +7 System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler sourceControl, String eventArgument) +11 System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) +33 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1746
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
|