tuanbs

tuanbs

  • NA
  • 23
  • 103.9k

Help me this error: "Timeout expired. The timeout period elapsed prior to obtaining a connection fr...

Nov 23 2009 1:03 AM
When I test my website I usually got this errors. I don't know why it occurr. Please show me the way to solve it. 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 101: catch (Exception ex) Line 102: { Line 103: throw ex; Line 104: } Line 105: finally Source File: e:\My Document\Aptech\ACCP i7.1\Semester III\eProject\MyEproject\Source Code\OnlinePostOffice\App_Code\DAL\WebService.cs Line: 103 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.] WebService.ExecuteDataSet(String commandText, CommandType type) in e:\My Document\Aptech\ACCP i7.1\Semester III\eProject\MyEproject\Source Code\OnlinePostOffice\App_Code\DAL\WebService.cs:103 TypeOfDelivery.GetAllTypeDelivery() in e:\My Document\Aptech\ACCP i7.1\Semester III\eProject\MyEproject\Source Code\OnlinePostOffice\App_Code\BLL\TypeOfDelivery.cs:25 Employee_EditMail.GetAllTypeDelivery() in e:\My Document\Aptech\ACCP i7.1\Semester III\eProject\MyEproject\Source Code\OnlinePostOffice\Employee\EditMail.aspx.cs:86 Employee_EditMail.Page_Load(Object sender, EventArgs e) in e:\My Document\Aptech\ACCP i7.1\Semester III\eProject\MyEproject\Source Code\OnlinePostOffice\Employee\EditMail.aspx.cs:31 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35 System.Web.UI.Control.OnLoad(EventArgs e) +99 System.Web.UI.Control.LoadRecursive() +50 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627

Answers (2)