OracleClient Pooled connection

OracleClient Pooled connection

am 21.02.2007 20:33:35 von 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.GetPool edConnection(String
encryptedConnectionString, OracleConnectionString options, OracleConnection
owningObject, Boolean& isInTransaction)
at
System.Data.OracleClient.OracleConnection.OpenInternal(Oracl eConnectionString
parsedConnectionString, Object transact)
at System.Data.OracleClient.OracleConnection.Open()
at Microsoft.Practices.EnterpriseLibrary.Data.Database.OpenConn ection()
at
Microsoft.Practices.EnterpriseLibrary.Data.Database.ExecuteR eader(DBCommandWrapper command)
at
Microsoft.Practices.EnterpriseLibrary.Data.Oracle.OracleData base.ExecuteReader(DBCommandWrapper commandWrapper)
at EssessmentDataAccessLayer.clsPMRFormDAL.get_dt_PMR_by_PMR_ID (Int32
PMR_ID)
------------------------------------------------------------ --------------------------

So it look like that this an Oracle database pool issue but I don't know how
to address and any suggestions would be helpful.

RE: OracleClient Pooled connection

am 22.02.2007 06:26:34 von lukezhan

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/de fault.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.

RE: OracleClient Pooled connection

am 22.02.2007 16:20:48 von 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.

"Luke Zhang [MSFT]" wrote:

> 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/de fault.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.
>
>
>
>

RE: OracleClient Pooled connection

am 23.02.2007 10:08:11 von lukezhan

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/de fault.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.