|
Home > Archive > IIS ASP > February 2007 > OracleClient Pooled connection
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
OracleClient Pooled connection
|
|
| DSISupport 2007-02-21, 7:16 pm |
| 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)
--------------------------------------------------------------------------------------
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.
| |
| Luke Zhang [MSFT] 2007-02-22, 1:23 am |
| 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/subscript...ault.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/subscript...t/default.aspx.
========================================
==========
This posting is provided "AS IS" with no warranties, and confers no rights.
| |
| DSISupport 2007-02-22, 1:18 pm |
| 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/subscript...ault.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/subscript...t/default.aspx.
> ========================================
==========
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
>
>
| |
| Luke Zhang [MSFT] 2007-02-23, 7:21 am |
| 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/subscript...ault.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/subscript...t/default.aspx.
========================================
==========
This posting is provided "AS IS" with no warranties, and confers no rights.
|
|
|
|
|