Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > SQL Server connection Pool error in Debug

Reply
Thread Tools

SQL Server connection Pool error in Debug

 
 
=?Utf-8?B?SmVycnkgSg==?=
Guest
Posts: n/a
 
      04-23-2007

In my ASP.net application I am getting the following error...

"Timeout expired. The timeout period elapsed prior to obtaining a connection
from the pool. This may have occured because all pooled connections were in
use and max pool site was reached".

This only happens when I am in debug mode. If I run SP_Who in Sql Server I
do not see many open connections. This also NEVER shows up if I run the web
application from the browser.

I cannot get this to occur if I run line by line in debug mode. I must let
it go without stopping. I cannot narrow down the location in debug either,
because it is not consitant.

I have tried increasing the timeout but that doesn't help. It just hangs
until the timeout has expired.

Searching the internet I have found others with this problem but cannot find
a solution.

--
Jerry J
 
Reply With Quote
 
 
 
 
Cowboy \(Gregory A. Beamer\)
Guest
Posts: n/a
 
      04-23-2007
My guess: The timeout is happening in the SQL debugger itself.

Solution:

Right click the solution and choose Properties
Click Debug (or Debugging) under Configuration Properties

If VB.NET
Find Enabled Debuggers and clear the SQL Server Debugging checkbox

If C#
Find Debuggers and Change Enable SQL Debugging to false

These dialogs were designed by the language teams.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*********************************************
Think outside the box!
*********************************************
"Jerry J" <> wrote in message
news:6F6553B6-92E5-4F4A-9F71-...
>
> In my ASP.net application I am getting the following error...
>
> "Timeout expired. The timeout period elapsed prior to obtaining a
> connection
> from the pool. This may have occured because all pooled connections were
> in
> use and max pool site was reached".
>
> This only happens when I am in debug mode. If I run SP_Who in Sql Server I
> do not see many open connections. This also NEVER shows up if I run the
> web
> application from the browser.
>
> I cannot get this to occur if I run line by line in debug mode. I must let
> it go without stopping. I cannot narrow down the location in debug either,
> because it is not consitant.
>
> I have tried increasing the timeout but that doesn't help. It just hangs
> until the timeout has expired.
>
> Searching the internet I have found others with this problem but cannot
> find
> a solution.
>
> --
> Jerry J


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PIX 501 issue routing between VPN pool and local pool eostrike Cisco 3 10-24-2008 09:43 PM
Help. Getting a An error has occurred while establishing a connectionto the server. When connecting to SQL Server 2005, this failure may be causedby the fact that under the default settings SQL Server does not allow remote aboutjav.com@gmail.com ASP .Net 0 05-03-2008 12:43 PM
Using a connection pool for SQL Server ASP.NET 1.1 Session managem =?Utf-8?B?Sm9lU2Vw?= ASP .Net 2 10-09-2006 03:04 AM
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. Guoqi Zheng ASP .Net 4 06-03-2004 06:39 PM
ERROR using the tomcat db connection pool against one SQL SERVER 200 database. Please help me _XaToA_ Java 0 10-30-2003 11:43 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57