ASP.NET Hangs While Opening A Connection To An Oracle Database

S

s_valmont

Just wondering if anyone's heard of this issue.

It relates to accessing an Oracle 9i database from ASP.NET 1.1. The
first time you do this (e.g., run a sproc) it works fine. However
doing this multiple times causes ASP.NET to freeze permanently. Its
memory consumption increases and its CPU usage hangs at around 50%.
The only way to proceed afterward is to use the Windows Task Manager
to close the ASP process.

In code, the reason behind the freeze is that when Open() is called on
a System.Data.OracleClient.OracleConnection object, a null reference
exception is thrown - even though the object does not appear to be
null!

Is this familiar to anyone? If so, are you aware of any causes or
solutions?
 
J

John Timney \(MVP\)

Connection pooling with Oracle doesn't appear to be that reliable and it may
be connected to that as the provider can run out of connection threads. I
have heard of people manually setting the pool to be off using pooling=false
inthe connection string, and ensuring they close the connection at the end
of each page request.

Regards

John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog
 

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,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top