473,396 Members | 1,815 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

connection pool errors

I have a asp.net application that is periodically generating an error
stating that the maximum number of connections has been exceeded. Is
there a way to trap this error and reset the connection pool when the
error occurs? Any other suggestions? Thanks...!

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 16 '05 #1
6 2686
Hi Philip,

Is it possible that you are not closing connections?

--
Miha Markic [MVP C#] - RightHand .NET consulting & software development
miha at rthand com
www.rthand.com

"Philip Townsend" <pt*******@v1tech.com> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl...
I have a asp.net application that is periodically generating an error
stating that the maximum number of connections has been exceeded. Is
there a way to trap this error and reset the connection pool when the
error occurs? Any other suggestions? Thanks...!

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 16 '05 #2
Hi Philip,

Is it possible that you are not closing connections?

--
Miha Markic [MVP C#] - RightHand .NET consulting & software development
miha at rthand com
www.rthand.com

"Philip Townsend" <pt*******@v1tech.com> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl...
I have a asp.net application that is periodically generating an error
stating that the maximum number of connections has been exceeded. Is
there a way to trap this error and reset the connection pool when the
error occurs? Any other suggestions? Thanks...!

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 16 '05 #3
I am very careful about calling .Close and even .Dispose on all
connection objects.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 16 '05 #4
I am very careful about calling .Close and even .Dispose on all
connection objects.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 16 '05 #5
KJ
Philip, I have been in the hell you are now describing.

First off, are you using the Microsoft Data Application block? Does
Sqlhelper.cs ring a bell?
"Philip Townsend" <pt*******@v1tech.com> wrote in message
news:OX**************@TK2MSFTNGP12.phx.gbl...
I am very careful about calling .Close and even .Dispose on all
connection objects.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 16 '05 #6
KJ
Philip, I have been in the hell you are now describing.

First off, are you using the Microsoft Data Application block? Does
Sqlhelper.cs ring a bell?
"Philip Townsend" <pt*******@v1tech.com> wrote in message
news:OX**************@TK2MSFTNGP12.phx.gbl...
I am very careful about calling .Close and even .Dispose on all
connection objects.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 16 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: JWM | last post by:
I am trying to implement Oracle connection pooling for the following code, which was written by someone else. Here is my main question -- this java file creates code that is executed every hour,...
0
by: Bob | last post by:
I have an ASP.NET web application that has been running without any problems for a while. I recently transferred the site to shared hosting and had multiple users start to use the site. The problem...
4
by: Srinivas Kollipara | last post by:
Hi, in my C# project it uses 24 sql connections, i am clearing all the conncetions whenever an error occurs and when i see in the performance monitor for that pool i can still see all those 24...
4
by: Phil Townsend | last post by:
While we have switched to the Application.Data block to improve connection management, we are still experiencing connection pool errors on occasions. I have been careful to explicitly close...
1
by: Sean Nolan | last post by:
We have implemented unhandled error trapping at the application level and log these errors to our database. One error, however, the does not get trapped is when the connection pool has exceeded the...
2
by: Brian | last post by:
Hello, I'm having a recurring error whenever I try to debug a asp.net web page is retrieving data from a SQL server. The error msg is: "Timeout expired. The timeout period elapsed prior to...
2
by: Dan D. | last post by:
Let me say first that I don't know much about .NET. We inherited an app from a group of developers and we have a second group of contractors working on the app. The first group set min=100 in the...
29
by: Bryce K. Nielsen | last post by:
Suddenly this week, I've started getting this error message: System.Data.SqlClient.SqlConnection(GetOpenConnection)ExecuteNonQuery requires an open and available Connection. The connection's...
20
by: fniles | last post by:
I am using VS2003 and connecting to MS Access database. When using a connection pooling (every time I open the OLEDBCONNECTION I use the exact matching connection string), 1. how can I know how...
7
by: =?Utf-8?B?Sm9obiBTdGFnZ3M=?= | last post by:
Hello, Please read this all before giving an answer :) I'm doing some troubleshooting on a web application that my company wrote. It's written in asp.net 1.1. The error that the Event viewer...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.