| | |
Time Expired, pool is full
Please support our ASP.NET advertiser: $4.95 a Month - ASP.NET Web Hosting – Click Here!
![]() |
•
•
Join Date: Feb 2008
Posts: 9
Reputation:
Solved Threads: 0
Hello dears,
I m facing below mentioned Error in my application.
where as all my database connections are closed.
my code is as under:
i have made a function that is being used with each type of query in my application.
'Execute Insert, Update and Delete Queries
but when 3 or 4 person use this at the same time it gives the error.
Please suggest me most convenient way at earliest.
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.
Best Regards,
Naveed
I m facing below mentioned Error in my application.
where as all my database connections are closed.
my code is as under:
i have made a function that is being used with each type of query in my application.
VB.NET Syntax (Toggle Plain Text)
Public Function exeQuery(ByVal query As String) As String Dim msg As String Try connect() fComm = New SqlCommand(query, fConn) fComm.ExecuteNonQuery() fConn.Close() fConn.Dispose() Return "1" Catch ex As Exception fConn.Close() msg = ex.Message.ToString() Return msg Finally fConn.Close() End Try End Function
but when 3 or 4 person use this at the same time it gives the error.
Please suggest me most convenient way at earliest.
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.
ASP.NET Syntax (Toggle Plain Text)
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.
Best Regards,
Naveed
Last edited by peter_budo; May 31st, 2008 at 8:11 am. Reason: Keep It Organized - please use [code] tags
Needo
In your connection string to the database add Pooling=False;
I caution you, however, there is something "seriously concerning" if you are exceeding 100 connections to your db at the same time. make sure you are closing out your connections! do you have background threads using the db????
I caution you, however, there is something "seriously concerning" if you are exceeding 100 connections to your db at the same time. make sure you are closing out your connections! do you have background threads using the db????
--
"Dummy."
"Dummy."
![]() |
Other Threads in the ASP.NET Forum
- Previous Thread: problem with web.config
- Next Thread: pop up menu in asp.net 2005 with c# like yahoomail
| Thread Tools | Search this Thread |
.net 2.0 3.5 activexcontrol ajax alltypeofvideos appliances asp asp.net bc30451 beginner bottomasp.net browser businesslogiclayer c# cac checkbox class commonfunctions compatible content contenttype countryselector courier dataaccesslayer database datagrid datagridview datagridviewcheckbox datalist deployment development dgv dropdownlist dropdownmenu dynamic dynamically edit embeddingactivexcontrol fileuploader fill findcontrol flash flv formatdecimal formview gridview gudi iis javascript listbox menu microsoft mono mouse mssql nameisnotdeclared news novell opera panelmasterpagebuttoncontrols problem redirect registration relationaldatabases reportemail schoolproject security serializesmo.table sessionvariables silverlight smartcard smoobjects software sql sql-server sqlserver2005 ssl suse textbox tracking treeview unauthorized validatedate validation vb.net video videos vista visual-studio visualstudio vs2008 web webapplications webarchitecture webdevelopemnt webdevelopment webprogramming webservice youareanotmemberofthedebuggerusers





