473,566 Members | 2,772 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

.NET Framework Data Provider for SQL Server

We are using the .net framework data provider for SQL, but
have hit a problem that we have not been able to solve
regardless of the timeouts or conncetion pooling settings
on the server.

We more times than not get this error:
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.

Has anyone hit this problem and/or have any
recommendations to fix or a connection string that may
help?

Thanks,
Doug
Nov 17 '05 #1
2 1802
are you .close ing your connections in your code? especially if
your doing dynamic coding you need to do this.

Mike

"Doug" <ro**********@y ahoo.com> wrote in message news:<03******* *************** ******@phx.gbl> ...
We are using the .net framework data provider for SQL, but
have hit a problem that we have not been able to solve
regardless of the timeouts or conncetion pooling settings
on the server.

We more times than not get this error:
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.

Has anyone hit this problem and/or have any
recommendations to fix or a connection string that may
help?

Thanks,
Doug

Nov 17 '05 #2
Yes,

This is our code...
finally
{
// clean up connection and adapter
if (null != sqlConnection)
{
if (sqlConnection. State ==
System.Data.Con nectionState.Op en)
sqlConnection.C lose();
sqlConnection.D ispose();
}
if (null != dataAdapter) dataAdapter.Dis pose
();
dataAdapter = null;
sqlConnection = null;

}
-----Original Message-----
are you .close ing your connections in your code? especially ifyour doing dynamic coding you need to do this.

Mike

"Doug" <ro**********@y ahoo.com> wrote in message

news:<03******* *************** ******@phx.gbl> ...
We are using the .net framework data provider for SQL, but have hit a problem that we have not been able to solve
regardless of the timeouts or conncetion pooling settings on the server.

We more times than not get this error:
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.

Has anyone hit this problem and/or have any
recommendations to fix or a connection string that may
help?

Thanks,
Doug

.

Nov 17 '05 #3

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

Similar topics

1
1494
by: Ramesh | last post by:
hi, I just want to know the difference between ".Net Framework Managed Provider for Oracle" and ".Net Managed Provider for Oracle 1.1". Can anybody knows about this details. ".Net Managed Provider for Oracle 1.1" means ODP.Net?? Please let me know. thanks in advance.
1
3735
by: Marsha | last post by:
Does anyone know how to add a new data provider to Visual Studio - to the Provider list in Server Explorer. I am using Sybase's ADO.NET Data Provider. It has been added to my GAC and appears in my References. However, I would like to add the provider to the Provider list in Server Explorer. Thanks. ~Marsha
0
1460
by: Terry | last post by:
I am getting the following message back from ASP.NET. MDAC 2.8 is installed as is .NET Framework 1.1 with SP and security updates on a Win 2K Server. For some reason .NET is not recognizing that MDAC 2.8 is installed. The application is pretty vanilla and is just executing SQL to a Microsoft SQL Server 2000 database. The app runs fin on...
3
5075
by: Michael Hoehne | last post by:
Hi, I'm currently facing a problem with a mixed environment using .NET 1.1 and ..NET 2.0 web services. We have a client application (the "client", system 1) running on .NET 2.0/WinXP, calling our web service (The "Web Service Server") running on a separate machine (also .NET 2.0, Win2003 Server, system 2). The web service server...
2
1295
by: Greg | last post by:
Is it possible to use (or even find to download) the .NET Data provider for SQL server with the 1.1 Framework? I am keen to use both, and not to upgrade to the Framework version 2. I can't seem to find a download for the data provider on its own. Greg.
0
1577
by: fionab | last post by:
Reading, Berkshire, UK - Crainiate Software announce the release of Objecto Framework 1.0, a new component framework 5 years in development, designed to make it easy for programmers to create agile persisted business objects that are reusable, customisable and scalable, without additional developer tools. Objecto uses new object persistence...
29
2461
by: =?Utf-8?B?SGVybWF3aWg=?= | last post by:
Hello, Please anybody help me. I have only a little experience with web development. I created simple project using ASP NET 2.0 (VS 2005) It works fine on local computer. When I tried to run the application on the web, it give me an error about net framework version information.
1
5777
by: aj | last post by:
I'm trying to hook up some MS stuff to my DB2 LUW 8.2 FP14. Can anyone provide any guidance on .Net Framework Data Provider for DB2? Is there one? Where can I get it? I've been trawling thru microsoft.com and my eyes are crossing. The last time I did this sort of thing, ODBC was popular.. TIA
2
1870
by: Larry | last post by:
Hello, I am about to write an app for Pocket PC 2003 / Windows CE / Mobile 5 (don't know which yet) from which I need to query both SQL Server Express 2005 and SQLCe. I would like to be able to use a provider factory to not have to duplicate code. ADO 2.0 has DbProviderFactory, but it is not available in the .NET Compact framework. I...
0
7584
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8108
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7644
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7951
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5484
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5213
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2083
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 we have to send another system
1
1201
muto222
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.