473,473 Members | 2,253 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

"max pool size was reached" problem again!

Hello everybody!

I realize that the problem, I will ask for solution of, has been posted here
once, but none of the replies would actually solve it. So I will try again -
there is one project, which was developed in VS2002 and worked fine, no
problems were ever encountered. Then it was transferred to new VS2003,
rebuilt successfully but, after one page makes 2 - 4 requests to the DB on
MSSQL Server 2000 SP3 I`m receiving an error like:

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.

All connections are explicitly closed by calling .Close method, and then
they are disposed by calling .Dispose method, and, finally, set to Nothing.
The thing is that, this happens even for 1 user - me, sitting on the
development server (or development workstation), I`m the only user who makes
any connections, and I`m executing 1 SQL stored procedure call per 1
connection opening, full closing-disposing-nothining block. All procedures
are simple selects or inserts, which execute in no time. Time span between
those actions is quite sufficient for the server to understand that I`m the
only user, and that connection attributes have not changed, so it should be
pooled. Nevertheless after making 2 - 4 runs to the database and looking
into "SQL Server --> Current Activity --> Process info" I see 100 items long
list of connections assigned to me.

Well I`ve tried to give as full problem description as possible, please ask
me if I`ve forgotten something.

Yep, and I forgot to tell, that I do not use DataReaders, everything is done
by creating SqlConnection, SqlCommand, SqlDataAdapter objects and filling
DataTable object.


Nov 18 '05 #1
1 2016
Maybe this will give you a hint of what your problem is...

http://www.maximumasp.com/maxtrack.asp?kb=432

To be continued...

"Vladimir Davidov" <vladimirs.davidovs[at]microlink.lv (replace at in square
brackets with @)> a écrit dans le message de
news:u1**************@TK2MSFTNGP09.phx.gbl...
Hello everybody!

I realize that the problem, I will ask for solution of, has been posted here once, but none of the replies would actually solve it. So I will try again - there is one project, which was developed in VS2002 and worked fine, no
problems were ever encountered. Then it was transferred to new VS2003,
rebuilt successfully but, after one page makes 2 - 4 requests to the DB on
MSSQL Server 2000 SP3 I`m receiving an error like:

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.

All connections are explicitly closed by calling .Close method, and then
they are disposed by calling .Dispose method, and, finally, set to Nothing. The thing is that, this happens even for 1 user - me, sitting on the
development server (or development workstation), I`m the only user who makes any connections, and I`m executing 1 SQL stored procedure call per 1
connection opening, full closing-disposing-nothining block. All procedures
are simple selects or inserts, which execute in no time. Time span between
those actions is quite sufficient for the server to understand that I`m the only user, and that connection attributes have not changed, so it should be pooled. Nevertheless after making 2 - 4 runs to the database and looking
into "SQL Server --> Current Activity --> Process info" I see 100 items long list of connections assigned to me.

Well I`ve tried to give as full problem description as possible, please ask me if I`ve forgotten something.

Yep, and I forgot to tell, that I do not use DataReaders, everything is done by creating SqlConnection, SqlCommand, SqlDataAdapter objects and filling
DataTable object.


Nov 18 '05 #2

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

Similar topics

3
by: Serious_Practitioner | last post by:
Good day, and thank you in advance for any assistance you can provide. I have a table in an Access 2000 .mdb file, and I've run into something odd and insolvable, at least for me. The database is...
8
by: abcd | last post by:
I can get the value on the form at the server side by using Request.form("max") when max field is disabled I dont get value. For GUI and business logic purpose I have disabled some fields with...
2
by: one | last post by:
Hi, Was wondering if you could help me out with regards to a server that I'm trying to troubleshoot... Basically we have a windows 2003 load-balanced server that has got sharepoint and mcms...
1
by: Riverburn | last post by:
I have a very small question regarding the px notation (with a lot of text though). is there a reason Mozilla cannot read the following css: .box{ width:500 px; } ? because opera can show...
10
by: JDT | last post by:
Hi, Can someone provide me an example that uses std::max_element() (probablly the predicate version) to return the max "absolute" integer in a vector? Your help is much appreciated. Tony ...
1
by: yoram.ayalon | last post by:
Hello, we have this situation. web farm, several server 2003 machines, and several win2K, SP 4 machines all machines access files on a Network appliance using CIFS I am testing a ASP.NET...
3
by: jclover | last post by:
When creating a query in Access (assumption is the data has a unique ID which is numerical...new records, autonumber) how reliable is the "Last of" grouping function vs the "Max of" the ID, and then...
10
by: anonymous | last post by:
How can I set report output parameter "Page 1 of max" to get output on first page in minimum time as it takes much time in fetching max page no. in first page and report is of around million pages
1
by: chrisj | last post by:
I'm using freeASPupload and got some assistance integrating to a Member script. It works successfully. In this modified version there are two groups that use this upload script. Members of one...
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
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.