473,395 Members | 1,689 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

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


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?

Apr 24 '07 #1
1 2160
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
<s_*******@telus.netwrote in message
news:11**********************@c18g2000prb.googlegr oups.com...
>
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?

Apr 24 '07 #2

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

Similar topics

1
by: Hai Ly Hoang \(MT00KSTN\) | last post by:
Hi, I'm an Oracle newbie. I've just created a table in Oracle with CREATE TABLE. Now, in C#, how to connect to database and get my table ? Thanks
6
by: ´ï´ï | last post by:
How to connect asp.net with Oracle Database? Where and How to? Thanks very much.
1
by: noor | last post by:
Hi, I'm trying to connect to my Oracle 10g Database i m facing the problem of connection string, following code is that i use, please tell me how to use the connection string for accessing the...
3
by: Budd | last post by:
I don't know how to connect to oracle database by asp.net Anyone have any simple or step for me to connect?? i have no idea.... i have search from google and get the code But it seen i have miss...
3
by: Tor Erik Soenvisen | last post by:
Hi, I need to export an Oracle database to a DDL-formated file. On the Web, I found a Python script that did exactly this for a MS Access database, but not one for Oracle databases. Does...
4
by: =?Utf-8?B?U3RlcGhhbmllIERvaGVydHk=?= | last post by:
I am trying to connect to an Oracle 10.2 database with vb.net and am getting the error: ORA-1215: TNS:could not resolve service name My connection string is: "Data...
0
by: Harshadcode | last post by:
Hi, This is HARSHAD, I am creating a project in VB.NET for managing details like photos of criminals. but i am facing problems in converting a image in to filestream so that it can be inserted in...
10
by: Reedsp | last post by:
Version: MSAccess 2003 SP2 Explination: I have a database that connects to an oracle database. I have setup an ODBC connection under the System DSN tab in the ODBC Source Administrator. The...
0
by: AAYU1 | last post by:
Hello, We have had an Oracle database problem frequently. Basically, the client connection to oracle database failure. After stop/start the Listener and OracleServices<Project>Data user, the...
1
by: Reshmi Jacob | last post by:
Hi all I just want to create a DLL in which I want to open a conn to an Oracle Database which can be used Public inside any program. In the main Program I will use OPENDB("C") In the DLL,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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...

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.