Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Access ODBC Client Server > Connection pool...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 13 Topic 1463 of 1511
Post > Topic >>

Connection pooling issue with pass through queries

by "Bill E." <billmiami2@[EMAIL PROTECTED] > May 31, 2008 at 01:55 PM

I'm creating an MS Access application that connects to a SQL Server
2005 database using pass-through queries and ADO to call stored
procedures.  I ran a SQL trace and started clicking through various
forms to look at how things were being handled on the database.  I
noticed an alarming number of connections were opened as if there was
absolutely no connection pooling.  After several clicks I had 20 new
connections.   It appeared that a new connection was being opened by
each pass-through query even though the connection strings are exactly
the same in each (I set them globally in code at application
startup).  I also noticed that if I set my connection string to use a
SQL Server login (username/password) rather than a trusted connection,
the problem went away and connections were properly reused.  Note that
calls to the database made via ADO did not exhibit this problem.
Also, I'm not using an ODBC DSN.

Is there a reason why I'm seeing this behavior?  Is there a setting
somewhere that I've neglected to change?

Bill E.
Hollywood, FL
 




 13 Posts in Topic:
Connection pooling issue with pass through queries
"Bill E." <b  2008-05-31 13:55:06 
Re: Connection pooling issue with pass through queries
"Rick Brandt" &  2008-05-31 21:00:50 
Re: Connection pooling issue with pass through queries
"Bill E." <b  2008-05-31 19:45:23 
Re: Connection pooling issue with pass through queries
"Rick Brandt" &  2008-05-31 22:04:48 
Re: Connection pooling issue with pass through queries
Erland Sommarskog <esq  2008-06-01 20:56:45 
Re: Connection pooling issue with pass through queries
lyle fairfield <lyle.f  2008-06-01 03:26:14 
Re: Connection pooling issue with pass through queries
"Bill E." <b  2008-06-01 06:52:51 
Re: Connection pooling issue with pass through queries
lyle fairfield <lylefa  2008-06-01 14:52:17 
Re: Connection pooling issue with pass through queries
Armen Stein <ArmenStei  2008-06-12 16:45:57 
Re: Connection pooling issue with pass through queries
"Alex Dybenko"   2008-06-13 09:49:22 
Re: Connection pooling issue with pass through queries
Armen Stein <ArmenStei  2008-06-13 07:00:32 
Re: Connection pooling issue with pass through queries
"Mary Chipman [MSFT]  2008-06-01 14:24:14 
Re: Connection pooling issue with pass through queries
"Bill E." <b  2008-06-01 14:40:07 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 4:31:25 CST 2008.