Solved

Turn off connection pooling for client applications connecting to SQL Server 2k

Posted on 2008-10-23
4
762 Views
Last Modified: 2013-11-07
We are running an ASP.net application on .net 1.1 running on IIS 6 on Windows Server 2003.

We are connecting back to a SQL Server 2000 box.

We want to turn off all connection pooling between the webserver and the SQL server.  We would prefer to do this with one central setting.  We do not want to specify it in the connection string as we have very many web.config files throughout the server that we would have to update.

Can it be done centrally on the webserver or on the DB server?
0
Comment
Question by:kenshaw
4 Comments
 
LVL 32

Accepted Solution

by:
Daniel Wilson earned 250 total points
ID: 22796276
I hesitate to absolutely say something can't be done ... but I really don't think it can.  Sorry!
0
 
LVL 51

Assisted Solution

by:Ted Bouskill
Ted Bouskill earned 250 total points
ID: 22801516
Do you realize you will lose performance if you remove the connection pooling?  Establishing a connection with a database is time consuming.  Connection pooling was added to alleviate that problem.
0
 
LVL 69

Expert Comment

by:Qlemo
ID: 23239877
I'm pretty sure that this option exists only on the client side. You can't set a "default connection string" with some options on server.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
I have a large data set and a SSIS package. How can I load this file in multi threading?
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

815 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now