473,563 Members | 2,895 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

OracleClient connection pooling

Hi,
I have this ASP.NET application developed with VS.NET 2003 VB.NET and
deplyed on Windows 2K server IIS 5.
This application uses the following:
- Oracle 10G databse
- MS Data Access Block from MS Enterprise Library June 2005 (with the other
blocks like exception, security...)
- Use Crystal Report Components for printing reports online
And everything was fine until recenntly we started getting this error
randomly and the only way to fix is reboot the server. and this is the error
message:
--------------------------------------------------------------------------------------
TargetSite : System.Data.Ora cleClient.DBPoo ledObject
GetObject(Syste m.Object, Boolean ByRef)
Stack Trace : at System.Data.Ora cleClient.DBObj ectPool.GetObje ct(Object
owningObject, Boolean& isInTransaction )
at
System.Data.Ora cleClient.Oracl eConnectionPool Manager.GetPool edConnection(St ring
encryptedConnec tionString, OracleConnectio nString options, OracleConnectio n
owningObject, Boolean& isInTransaction )
at
System.Data.Ora cleClient.Oracl eConnection.Ope nInternal(Oracl eConnectionStri ng
parsedConnectio nString, Object transact)
at System.Data.Ora cleClient.Oracl eConnection.Ope n()
at Microsoft.Pract ices.Enterprise Library.Data.Da tabase.OpenConn ection()
at
Microsoft.Pract ices.Enterprise Library.Data.Da tabase.ExecuteR eader(DBCommand Wrapper command)
at
Microsoft.Pract ices.Enterprise Library.Data.Or acle.OracleData base.ExecuteRea der(DBCommandWr apper commandWrapper)
at EssessmentDataA ccessLayer.clsP MRFormDAL.get_d t_PMR_by_PMR_ID (Int32
PMR_ID)
--------------------------------------------------------------------------------------
And from the error message it look like that Oracle client database pooling
is not working properly but I don't know how to fix.
Do you have any suggestions.

Thanks.
Feb 22 '07 #1
4 6369
On Feb 22, 11:36 am, DSISupport <DSISupp...@new sgroup.nospamwr ote:
Hi,
I have this ASP.NET application developed with VS.NET 2003 VB.NET and
deplyed on Windows 2K server IIS 5.
This application uses the following:
- Oracle 10G databse
- MS Data Access Block from MS Enterprise Library June 2005 (with the other
blocks like exception, security...)
- Use Crystal Report Components for printing reports online
And everything was fine until recenntly we started getting this error
randomly and the only way to fix is reboot the server. and this is the error
message:
---------------------------------------------------------------------------*-----------
TargetSite : System.Data.Ora cleClient.DBPoo ledObject
GetObject(Syste m.Object, Boolean ByRef)
Stack Trace : at System.Data.Ora cleClient.DBObj ectPool.GetObje ct(Object
owningObject, Boolean& isInTransaction )
at
System.Data.Ora cleClient.Oracl eConnectionPool Manager.GetPool edConnection(St *ring
encryptedConnec tionString, OracleConnectio nString options, OracleConnectio n
owningObject, Boolean& isInTransaction )
at
System.Data.Ora cleClient.Oracl eConnection.Ope nInternal(Oracl eConnectionStri *ng
parsedConnectio nString, Object transact)
at System.Data.Ora cleClient.Oracl eConnection.Ope n()
at Microsoft.Pract ices.Enterprise Library.Data.Da tabase.OpenConn ection()
at
Microsoft.Pract ices.Enterprise Library.Data.Da tabase.ExecuteR eader(DBCommand *Wrapper command)
at
Microsoft.Pract ices.Enterprise Library.Data.Or acle.OracleData base.ExecuteRea *der(DBCommandW rapper commandWrapper)
at EssessmentDataA ccessLayer.clsP MRFormDAL.get_d t_PMR_by_PMR_ID (Int32
PMR_ID)
---------------------------------------------------------------------------*-----------
And from the error message it look like that Oracle client database pooling
is not working properly but I don't know how to fix.
Do you have any suggestions.

Thanks.
Are you using an Oracle name server? I've run into a similar issue
when using the .net managed provider in an environment where a name
server was used to resolve names.

Feb 22 '07 #2
I just checked with our DBA team and they confirmed that we're not using
Oracle Name Server and we're using TNS names instead?
Does this make my issue harder? also what did you do to fix the issue?

Thanks.

"wf****@gmail.c om" wrote:
On Feb 22, 11:36 am, DSISupport <DSISupp...@new sgroup.nospamwr ote:
Hi,
I have this ASP.NET application developed with VS.NET 2003 VB.NET and
deplyed on Windows 2K server IIS 5.
This application uses the following:
- Oracle 10G databse
- MS Data Access Block from MS Enterprise Library June 2005 (with the other
blocks like exception, security...)
- Use Crystal Report Components for printing reports online
And everything was fine until recenntly we started getting this error
randomly and the only way to fix is reboot the server. and this is the error
message:
---------------------------------------------------------------------------Â*-----------
TargetSite : System.Data.Ora cleClient.DBPoo ledObject
GetObject(Syste m.Object, Boolean ByRef)
Stack Trace : at System.Data.Ora cleClient.DBObj ectPool.GetObje ct(Object
owningObject, Boolean& isInTransaction )
at
System.Data.Ora cleClient.Oracl eConnectionPool Manager.GetPool edConnection(St Â*ring
encryptedConnec tionString, OracleConnectio nString options, OracleConnectio n
owningObject, Boolean& isInTransaction )
at
System.Data.Ora cleClient.Oracl eConnection.Ope nInternal(Oracl eConnectionStri Â*ng
parsedConnectio nString, Object transact)
at System.Data.Ora cleClient.Oracl eConnection.Ope n()
at Microsoft.Pract ices.Enterprise Library.Data.Da tabase.OpenConn ection()
at
Microsoft.Pract ices.Enterprise Library.Data.Da tabase.ExecuteR eader(DBCommand Â*Wrapper command)
at
Microsoft.Pract ices.Enterprise Library.Data.Or acle.OracleData base.ExecuteRea Â*der(DBCommand Wrapper commandWrapper)
at EssessmentDataA ccessLayer.clsP MRFormDAL.get_d t_PMR_by_PMR_ID (Int32
PMR_ID)
---------------------------------------------------------------------------Â*-----------
And from the error message it look like that Oracle client database pooling
is not working properly but I don't know how to fix.
Do you have any suggestions.

Thanks.

Are you using an Oracle name server? I've run into a similar issue
when using the .net managed provider in an environment where a name
server was used to resolve names.

Feb 22 '07 #3
On Feb 22, 2:00 pm, DSISupport <DSISupp...@new sgroup.nospamwr ote:
I just checked with our DBA team and they confirmed that we're not using
Oracle Name Server and we're using TNS names instead?
Does this make my issue harder? also what did you do to fix the issue?

Thanks.

"wfa...@gmail.c om" wrote:
On Feb 22, 11:36 am, DSISupport <DSISupp...@new sgroup.nospamwr ote:
Hi,
I have this ASP.NET application developed with VS.NET 2003 VB.NET and
deplyed on Windows 2K server IIS 5.
This application uses the following:
- Oracle 10G databse
- MS Data Access Block from MS Enterprise Library June 2005 (with theother
blocks like exception, security...)
- Use Crystal Report Components for printing reports online
And everything was fine until recenntly we started getting this error
randomly and the only way to fix is reboot the server. and this is the error
message:
---------------------------------------------------------------------------**-----------
TargetSite : System.Data.Ora cleClient.DBPoo ledObject
GetObject(Syste m.Object, Boolean ByRef)
Stack Trace : at System.Data.Ora cleClient.DBObj ectPool.GetObje ct(Object
owningObject, Boolean& isInTransaction )
at
System.Data.Ora cleClient.Oracl eConnectionPool Manager.GetPool edConnection(St **ring
encryptedConnec tionString, OracleConnectio nString options, OracleConnectio n
owningObject, Boolean& isInTransaction )
at
System.Data.Ora cleClient.Oracl eConnection.Ope nInternal(Oracl eConnectionStri **ng
parsedConnectio nString, Object transact)
at System.Data.Ora cleClient.Oracl eConnection.Ope n()
at Microsoft.Pract ices.Enterprise Library.Data.Da tabase.OpenConn ection()
at
Microsoft.Pract ices.Enterprise Library.Data.Da tabase.ExecuteR eader(DBCommand **Wrapper command)
at
Microsoft.Pract ices.Enterprise Library.Data.Or acle.OracleData base.ExecuteRea **der(DBCommand Wrapper commandWrapper)
at EssessmentDataA ccessLayer.clsP MRFormDAL.get_d t_PMR_by_PMR_ID (Int32
PMR_ID)
---------------------------------------------------------------------------**-----------
And from the error message it look like that Oracle client database pooling
is not working properly but I don't know how to fix.
Do you have any suggestions.
Thanks.
Are you using an Oracle name server? I've run into a similar issue
when using the .net managed provider in an environment where a name
server was used to resolve names.- Hide quoted text -

- Show quoted text -
We used tnsnames :). I'm not sure if it was the exact same problem but
it sounds similar. There was an issue between the microsoft managed
provider and the oci library where a thread was entering a
synchronization context while opening a connection and then never
leaving the context because it hung on the call to resolve the server
(using Oracle name server). We'd then receive timeout errors when
trying to open another connection until we killed the process. At the
time I found some other reports of the issue in metalink but there
weren't any resolutions other than using Oracle's managed provider
(instead of Microsoft's) or not using an oracle nameserver. We had too
much provider specific code so we chose the latter.

First thing I would do is use the microsoft debugging tools so you can
identify exactly where the problem is.
http://www.microsoft.com/whdc/devtoo...g/default.mspx
Feb 23 '07 #4
I think that we can always change the code to use the Oracle database
provider and see if that resolve the issue however that could take some time
because a lot of stuff are a provider specific. The other possible fix would
be try to disable the connection pooling but that may also slow down the
application.
I was hoping to find a fix and keep using the MS DB Provider for Oracle with
the connection pooling and I'm still searching for the fix to this issue.

"wf****@gmail.c om" wrote:
On Feb 22, 2:00 pm, DSISupport <DSISupp...@new sgroup.nospamwr ote:
I just checked with our DBA team and they confirmed that we're not using
Oracle Name Server and we're using TNS names instead?
Does this make my issue harder? also what did you do to fix the issue?

Thanks.

"wfa...@gmail.c om" wrote:
On Feb 22, 11:36 am, DSISupport <DSISupp...@new sgroup.nospamwr ote:
Hi,
I have this ASP.NET application developed with VS.NET 2003 VB.NET and
deplyed on Windows 2K server IIS 5.
This application uses the following:
- Oracle 10G databse
- MS Data Access Block from MS Enterprise Library June 2005 (with the other
blocks like exception, security...)
- Use Crystal Report Components for printing reports online
And everything was fine until recenntly we started getting this error
randomly and the only way to fix is reboot the server. and this is the error
message:
---------------------------------------------------------------------------Â*Â*-----------
TargetSite : System.Data.Ora cleClient.DBPoo ledObject
GetObject(Syste m.Object, Boolean ByRef)
Stack Trace : at System.Data.Ora cleClient.DBObj ectPool.GetObje ct(Object
owningObject, Boolean& isInTransaction )
at
System.Data.Ora cleClient.Oracl eConnectionPool Manager.GetPool edConnection(St Â*Â*ring
encryptedConnec tionString, OracleConnectio nString options, OracleConnectio n
owningObject, Boolean& isInTransaction )
at
System.Data.Ora cleClient.Oracl eConnection.Ope nInternal(Oracl eConnectionStri Â*Â*ng
parsedConnectio nString, Object transact)
at System.Data.Ora cleClient.Oracl eConnection.Ope n()
at Microsoft.Pract ices.Enterprise Library.Data.Da tabase.OpenConn ection()
at
Microsoft.Pract ices.Enterprise Library.Data.Da tabase.ExecuteR eader(DBCommand Â*Â*Wrapper command)
at
Microsoft.Pract ices.Enterprise Library.Data.Or acle.OracleData base.ExecuteRea Â*Â*der(DBComma ndWrapper commandWrapper)
at EssessmentDataA ccessLayer.clsP MRFormDAL.get_d t_PMR_by_PMR_ID (Int32
PMR_ID)
---------------------------------------------------------------------------Â*Â*-----------
And from the error message it look like that Oracle client database pooling
is not working properly but I don't know how to fix.
Do you have any suggestions.
Thanks.
Are you using an Oracle name server? I've run into a similar issue
when using the .net managed provider in an environment where a name
server was used to resolve names.- Hide quoted text -
- Show quoted text -

We used tnsnames :). I'm not sure if it was the exact same problem but
it sounds similar. There was an issue between the microsoft managed
provider and the oci library where a thread was entering a
synchronization context while opening a connection and then never
leaving the context because it hung on the call to resolve the server
(using Oracle name server). We'd then receive timeout errors when
trying to open another connection until we killed the process. At the
time I found some other reports of the issue in metalink but there
weren't any resolutions other than using Oracle's managed provider
(instead of Microsoft's) or not using an oracle nameserver. We had too
much provider specific code so we chose the latter.

First thing I would do is use the microsoft debugging tools so you can
identify exactly where the problem is.
http://www.microsoft.com/whdc/devtoo...g/default.mspx
Feb 26 '07 #5

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

Similar topics

1
455
by: Kevin Vogt | last post by:
When initially loaded, my web application (below) takes ~120000 milliseconds to open its connection. But repeated executions take 0 milliseconds each. But when I wait for approx. 5 minutes and try again, it takes another 120000 milliseconds for Open(). This behavior gets really irritating with the real web application that I'm working on. ...
18
3215
by: Rob Nicholson | last post by:
We're getting an occasional occurrence of the following error when two users try and open the same record in our ASP.NET app: "There is already an open DataReader associated with this Connection which must be closed first." As suggested, I was closing the connection in the Finally part of the outer Try but I wasn't closing the data reader...
1
5713
by: Lenny Shprekher | last post by:
Hi, I am getting issues that Oracle collecting opened sessions (connections) from my webservice using regular System.Data.OleDb.OleDbConnection object. I am guessing that this is connection pooling issue. Is there is any way to disable connection pooling for one particular .net webservice? Thanks, Leonid
7
2199
by: Mrinal Kamboj | last post by:
Hi , I am using OracleConnection object from Oracle ODP.net provider and following is the behaviour which i am finding bit strange : To start with my argument is based on followings facts : 1. Connection object is a reference type object . 2. All reference types are passed by reference even when done without using modifier like ref /...
3
10281
by: Martin B | last post by:
Hallo! I'm working with C# .NET 2.0, implementing Client/Server Applications which are connecting via Network to SQL-Server or Oracle Databases. To stay independent from the underlaying Database I use System.Data.Common.DBConnection and .DBCommand. How can I keep aware from connection losses (network not availeable, db-server not...
2
2329
by: JimLad | last post by:
Hi, In an existing ASP/ASP.NET 1.1 app running on IIS 6, I need to RELIABLY pass the logged in username through to the SQL Server 2000 database for auditing purposes. The current method is hideously unreliable. The app includes updategrams, XML Templates and ADO connections. I don't want to use impersonation because of the direct db...
16
2853
by: crbd98 | last post by:
Hello All, Some time ago, I implemented a data access layer that included a simple connectin pool. At the time, I did it all by myself: I created N connections, each connection associated with a worker thread that would execute the db commands. The pool was fixed and all the connections were created when the db access class was...
3
4880
by: fniles | last post by:
In the Windows application (using VB.NET 2005) I use connection pooling like the following: In the main form load I open a connection using a connection string that I stored in a global variable g_sConnectionString and leave this connection open and not close it until it exits the application. Then on each thread/each subsequent sub that...
0
6592
viswarajan
by: viswarajan | last post by:
Introduction This article is to go in deep in dome key features in the ADO.NET 2 which was shipped with VS 2005. In this article I will go trough one of the key features which is the Connection Pooling. This feature is a key feature plays an important role in the performance in most of business application or Data driven application. ...
0
7583
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
8106
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...
0
7950
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...
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
3643
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2082
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
1200
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
924
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.