473,386 Members | 1,873 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.

all pooled connections were in use

If this forum is the wrong place to discuss this issue please point me to
the right forum...

We have an ASP.NET application (InterNet app) originally written in .NET 1.0
running for about 2 years. Recently we installed .NET 1.1 and upgraded the
app to 1.1. During the deployment we also installed the latest MDAC update
that was available at that time (Unchecked Buffer in MDAC Function Could
Enable System Compromise (823718)
http://www.microsoft.com/technet/sec.../MS03-033.asp). Few days
after the deployment of .NET 1.1 and the above windows update we started to
see the following error.

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.

After doing some investigation we found a workaround to specify the "Max
Pool Size" in the connection string. This seems to take care of the issue.
However I am not sure of the core issue behind this error. My questions are:

1. Is this a tightened security feature in .NET 1.1 to explicitly specify
the pool size OR some bug in the above windows update OR around the same
time we deployed 1.1 the number of users to our system increased? When I
looked at the MSFT site I see another MDAC update released (Buffer Overrun
in MDAC Function Could Allow Code Execution (832483)
http://www.microsoft.com/technet/sec.../MS04-003.asp). The web
page says this is a replacement for the above update.
2. If there is some code problem what could that be?
Nov 18 '05 #1
2 4486
The most common cause to this is that you don't close your connections.
Could it be?

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

"dotNET Developer" <De*******@dotNETDev.com> wrote in message
news:uU****************@TK2MSFTNGP10.phx.gbl...
If this forum is the wrong place to discuss this issue please point me to
the right forum...

We have an ASP.NET application (InterNet app) originally written in .NET 1.0 running for about 2 years. Recently we installed .NET 1.1 and upgraded the
app to 1.1. During the deployment we also installed the latest MDAC update
that was available at that time (Unchecked Buffer in MDAC Function Could
Enable System Compromise (823718)
http://www.microsoft.com/technet/sec.../MS03-033.asp). Few days
after the deployment of .NET 1.1 and the above windows update we started to see the following error.

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.

Nov 18 '05 #2
I've responded to this before. There are a litany of reasons for this problem so search the archives of this list for more details. Basically:

1.. You didn't close the connection before it fell from scope
2.. You took too long processing on the connection so when another ASP page was launched it could not use the connection--it was still busy.
3.. The operation was blocked for some reason and didn't get done in time. (see 2)

--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________

"dotNET Developer" <De*******@dotNETDev.com> wrote in message news:uU****************@TK2MSFTNGP10.phx.gbl...
If this forum is the wrong place to discuss this issue please point me to
the right forum...

We have an ASP.NET application (InterNet app) originally written in ..NET 1.0
running for about 2 years. Recently we installed .NET 1.1 and upgraded the
app to 1.1. During the deployment we also installed the latest MDAC update
that was available at that time (Unchecked Buffer in MDAC Function Could
Enable System Compromise (823718)
http://www.microsoft.com/technet/sec.../MS03-033.asp). Few days
after the deployment of .NET 1.1 and the above windows update we started to
see the following error.

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.

After doing some investigation we found a workaround to specify the "Max
Pool Size" in the connection string. This seems to take care of the issue.
However I am not sure of the core issue behind this error. My questions are:

1. Is this a tightened security feature in .NET 1.1 to explicitly specify
the pool size OR some bug in the above windows update OR around the same
time we deployed 1.1 the number of users to our system increased? When I
looked at the MSFT site I see another MDAC update released (Buffer Overrun
in MDAC Function Could Allow Code Execution (832483)
http://www.microsoft.com/technet/sec.../MS04-003.asp). The web
page says this is a replacement for the above update.
2. If there is some code problem what could that be?

Nov 18 '05 #3

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

Similar topics

0
by: LBS | last post by:
Hi hope someone can solve this one, I'm using a JNDI datasource to create pooled connections to a 9i DB. In my Java code I'm using an OracleConnectionCacheImpl to attache to this. My problem is...
3
by: john bailo | last post by:
SqlConnection.Open, from a web application, threw: /Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled...
3
by: User N | last post by:
I'm working on a proxy which must support at least a dozen simultaneous connections from local clients to remote servers. It is conceivable that someone might want to run it in non-local mode,...
4
by: Guoqi Zheng | last post by:
Dear sir, I keep getting the following errors on one of my sites after clicking for many times. Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This...
2
by: Bob | last post by:
We have a production web site that's data intensive (save user input to DB and query for displaying) with the ASP.NET app part on one W2K server and SQL 2000 DB on another W2K server. I have set...
3
by: =?Utf-8?B?RFNJU3VwcG9ydA==?= | last post by:
I have an ASP.NET application runinng on IIS 5 .NET 1.1 Sp1 and recently we've been experiencing this error when the users are trying to print reports that connects to Oracle database. The only way...
1
by: ChrisMiddle10 | last post by:
Hey All, My subject says it all. I'd like to control how long the instance of my HttpHandler is pooled, but I'm not sure how and I can't find anything about it. Is it possible? If so, how? ...
1
by: Allan Ebdrup | last post by:
I have a web application (ASP.Net V2) that fetches stuff from the database. I've created a test project in Visual Studio 2005. In the webtest I fetch data from some webservices that query the...
1
by: jobs | last post by:
Re: Troubleshooting Timeout expired. All pooled connections were in use and max pool size was reached. New webservers. win2003. IIS6. asp.net 2.0/ sql server 2005 and Oracle 9i through a 64 bit...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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
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.