OracleClient Pooled connection

D

DSISupport

I have an ASP.NET application runinng on IIS 5 .NET 1.1 Sp1 and recently
we've been experiencing this error when the users are trying to print reports
that connects to Oracle database. The only way to solve the issue right now
is to restart the server or IIS and this is the error message:

--------------------------------------------------------------------------------------
TargetSite : System.Data.OracleClient.DBPooledObject
GetObject(System.Object, Boolean ByRef)
Stack Trace : at System.Data.OracleClient.DBObjectPool.GetObject(Object
owningObject, Boolean& isInTransaction)
at
System.Data.OracleClient.OracleConnectionPoolManager.GetPooledConnection(String
encryptedConnectionString, OracleConnectionString options, OracleConnection
owningObject, Boolean& isInTransaction)
at
System.Data.OracleClient.OracleConnection.OpenInternal(OracleConnectionString
parsedConnectionString, Object transact)
at System.Data.OracleClient.OracleConnection.Open()
at Microsoft.Practices.EnterpriseLibrary.Data.Database.OpenConnection()
at
Microsoft.Practices.EnterpriseLibrary.Data.Database.ExecuteReader(DBCommandWrapper command)
at
Microsoft.Practices.EnterpriseLibrary.Data.Oracle.OracleDatabase.ExecuteReader(DBCommandWrapper commandWrapper)
at EssessmentDataAccessLayer.clsPMRFormDAL.get_dt_PMR_by_PMR_ID(Int32
PMR_ID
 
L

Luke Zhang [MSFT]

Hello,

From the error message, it seems it failed when open a connection to the
Oracle database, did you open too much connection in the ASP.NET
application. In ASP.NET application, we may close a connection right way
after a database operation. Also, I not sure if there is some Orcale
utilities which can check how many connections we open to a database. If
so, it will also be helpful.

BTW, for ASP.NET and ADO.NET related issue, you may post in:

microsoft.public.dotnet.framework.aspnet
microsoft.public.dotnet.framework.adonet

Sincerely,

Luke Zhang

Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
 
D

DSISupport

Actually by the nature of the ASP.NET application all database connection are
opened and closed by the MS Data Access Block which is a part of the MS
Enterprise Library June 2005 and based on the documentation this code has a
connection pool class which manages all the connection autumatically.
Also this code is working fine in most cases however when we have more
activities on from the users the server crash giving this error.
It look like to me that the OracleClient ConnectionPool part has issue
recycling connections, but I'm not sure.
 
L

Luke Zhang [MSFT]

Hello,

Connection pool also has max connection limit. So, it is better to check
from Oracle side if there is a connection numbers peak when the exception
occurs.

Sincerely,

Luke Zhang

Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top