473,386 Members | 1,721 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,386 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 2685
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.