Showing posts with label retrieving. Show all posts
Showing posts with label retrieving. Show all posts

Thursday, March 22, 2012

Connection Pool Error

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
obtaining a connection from the pool. This may have
occurred because all pooled connections were in use and
max pool size was reached."
Any ideas?There were some connection pooling problems in the earlier versions of .NET.
Have you applied the .NET service packs to your boxes?
--Brian
(Please reply to the newsgroups only.)
"Brian" <anonymous@.discussions.microsoft.com> wrote in message
news:041501c3d7ba$5694ff40$a001280a@.phx.gbl...
quote:

> 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
> obtaining a connection from the pool. This may have
> occurred because all pooled connections were in use and
> max pool size was reached."
> Any ideas?
>
|||Brian (anonymous@.discussions.microsoft.com) writes:
quote:

> 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
> obtaining a connection from the pool. This may have
> occurred because all pooled connections were in use and
> max pool size was reached."

ADO.Net is not my best game, but I know that there are pitfalls, so
if you are not careful, you will fill up your connection pool. One
way to diagnose this is to run sp_who from Query Analyzer, and see
how many connections you have open. If you think you have none,
but there are hundred you know that 1) you have filled up the pool
2) you have a leak.
Explicitly closing your connections is probably a good idea.
Erland Sommarskog, SQL Server MVP, sommar@.algonet.se
Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techin.../2000/books.asp

Friday, February 24, 2012

Connection Bombs Out at 3900+ records

I have a customer who's running an application that's using an OLE DB
connection to the database and when retrieving records a counter shows on th
e
screen. As soon as the count reaches somewhere between 3900 and 4000 the
counting stops and the grid never fills. The message received is as follows:
[Custom Message from application saying error has occurred]
-2147467259[DBNETLIB][ConnectionOpen(Connect()).]SQL Server does not
exist
or access denied.
Is this a timing out or connection pooling problem? I'm sorry but I don't
have the particulars about versions, systems, etc. because I've received the
question from someone else. Could you just give me an educated guess at what
the problem might be so I can start troubleshooting in the right direction?
Apparently the customer just had a problem with the log file being full so
they moved it to another server. Could this have caused a problem? This is a
very large location so I assume the dba(s) know what they are doing. Could
they have limited the number of records that can be returned?
Thanks for any help you can give.
--
GinnySearch no further...
http://support.microsoft.com/defaul...kb;en-us;328476
Note, this answer took forever to find so I'm posting everywhere...|||Thanks. I will pass on the link to the customer.
--
Ginny
"alorentz" wrote:

> Search no further...
> http://support.microsoft.com/defaul...kb;en-us;328476
> Note, this answer took forever to find so I'm posting everywhere...
>

Connection Bombs Out at 3900+ records

I have a customer who's running an application that's using an OLE DB
connection to the database and when retrieving records a counter shows on the
screen. As soon as the count reaches somewhere between 3900 and 4000 the
counting stops and the grid never fills. The message received is as follows:
[Custom Message from application saying error has occurred]
-2147467259[DBNETLIB][ConnectionOpen(Connect()).]SQL Server does not exist
or access denied.
Is this a timing out or connection pooling problem? I'm sorry but I don't
have the particulars about versions, systems, etc. because I've received the
question from someone else. Could you just give me an educated guess at what
the problem might be so I can start troubleshooting in the right direction?
Apparently the customer just had a problem with the log file being full so
they moved it to another server. Could this have caused a problem? This is a
very large location so I assume the dba(s) know what they are doing. Could
they have limited the number of records that can be returned?
Thanks for any help you can give.
Ginny
Search no further...
http://support.microsoft.com/default...b;en-us;328476
Note, this answer took forever to find so I'm posting everywhere...
|||Thanks. I will pass on the link to the customer.
Ginny
"alorentz" wrote:

> Search no further...
> http://support.microsoft.com/default...b;en-us;328476
> Note, this answer took forever to find so I'm posting everywhere...
>