473,385 Members | 1,409 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,385 software developers and data experts.

aspnet_wp.exe not killed in Oracle connection session

I have been posting this question in google group, EE, and Oracle OTN forum and still no cannot find a suitable solution for it.

I have contacted Singapore Microsoft support regarding the problem .Unfortunately they are not able to help me and eventually direct me here

i'm not 100% sure if this problem is due to ODP.net provider or asp.net IIS setting

Hopefully Microsoft Experts here can help me up. Thx

Introduction
=================================================
We are using ODP.net (version 9.2.0.4.01) as data provider for Oracle
in our dotnet app. Currently we are using Microsoft.NET Framework 1.1
(VS.net IDE 2003) in our C# project.

Problem Description
=================================================
One thing I feel strange is that every time the ASPX application ended
(closed and disposed the connection object), the Oracle session
connection never killed.

These eventually bring us to oracle connections used up situation :(

Based on my experiment, The problem will not occur while running
Window app or ASPX app using IIS 6 (w3wp.exe) in Window 2003.

Since we r using the same data access base classes for Window and
Web apps, there is not possible for the error to happen alone in web App.
We did close and dispose the connection object as shown in oracle ODP.net
samples(in ' Using block ').

They do happen in WinXP pro and Win2k Pro for IIS 5.X (haven't tried
in win2k server).

I have checked the Oracle Enterprise Management Console which showing
that the aspnet_wp processes are running even closing up any ASPX web app
browser window and VS.net IDE 2003.

Some Temporary Solutions
==================================================

By referring to the Google forum, in order to kill this "Never ended"
oracle connections, what I need to do is to restart the WWW service in
Window Component Services.

But I do not think this is a practical solution in order to solve the
problem in real time.

By refering to discussion in Oracle OTN forum, some of the guys said
turning off the connnection pool will solve the problem. but again do u
think this is pratical in operating environment ?

I suspect this are some configuration errors in asp.net state
management or IIS settings. I tried to turn off the session in web.config
but the problem is still there. i wonder if i should do anything in the
processmodel setting in machine.config .

Finally
=======

Can any expert provide me a suggestion regarding the problem?
I strongly believe that there sure have a solution for it since many ppl have inplemented .Net framework project in win2k server for the past few years.

Hopefully my description is clear enough to well shape the problem.

Have a nice day. Thanks.

Best Regards,

Steve FOO

Nov 18 '05 #1
2 6787
Are you specifically disabling connection pooling in your connection string?
Make sure you specifically disable pooling in the string if you want them to
not stick around (pooling = false.)

-John

"Steve Foo" <fo*********************@yahoo.com> wrote in message
news:36**********************************@microsof t.com...
I have been posting this question in google group, EE, and Oracle OTN forum and still no cannot find a suitable solution for it.
I have contacted Singapore Microsoft support regarding the problem ..Unfortunately they are not able to help me and eventually direct me here.
i'm not 100% sure if this problem is due to ODP.net provider or asp.net IIS setting .
Hopefully Microsoft Experts here can help me up. Thx

Introduction
=================================================
We are using ODP.net (version 9.2.0.4.01) as data provider for Oracle
in our dotnet app. Currently we are using Microsoft.NET Framework 1.1
(VS.net IDE 2003) in our C# project.

Problem Description
=================================================
One thing I feel strange is that every time the ASPX application ended
(closed and disposed the connection object), the Oracle session
connection never killed.

These eventually bring us to oracle connections used up situation :(

Based on my experiment, The problem will not occur while running
Window app or ASPX app using IIS 6 (w3wp.exe) in Window 2003.

Since we r using the same data access base classes for Window and
Web apps, there is not possible for the error to happen alone in web App.
We did close and dispose the connection object as shown in oracle ODP.net
samples(in ' Using block ').

They do happen in WinXP pro and Win2k Pro for IIS 5.X (haven't tried
in win2k server).

I have checked the Oracle Enterprise Management Console which showing
that the aspnet_wp processes are running even closing up any ASPX web app
browser window and VS.net IDE 2003.
Some Temporary Solutions
==================================================

By referring to the Google forum, in order to kill this "Never ended"
oracle connections, what I need to do is to restart the WWW service in
Window Component Services.

But I do not think this is a practical solution in order to solve the
problem in real time.

By refering to discussion in Oracle OTN forum, some of the guys said
turning off the connnection pool will solve the problem. but again do u
think this is pratical in operating environment ?

I suspect this are some configuration errors in asp.net state
management or IIS settings. I tried to turn off the session in web.config
but the problem is still there. i wonder if i should do anything in the
processmodel setting in machine.config .

Finally
=======

Can any expert provide me a suggestion regarding the problem?
I strongly believe that there sure have a solution for it since many ppl have inplemented .Net framework project in win2k server for the past few
years.
Hopefully my description is clear enough to well shape the problem.

Have a nice day. Thanks.
Best Regards,
Steve FOO

Nov 18 '05 #2
ODP.Net is an Oracle product. As such, your best information would have to
come from Oracle. Microsoft manufactures database drivers that can connect
to Oracle, but that isn't one of them.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Steve Foo" <fo*********************@yahoo.com> wrote in message
news:36**********************************@microsof t.com...
I have been posting this question in google group, EE, and Oracle OTN forum and still no cannot find a suitable solution for it.
I have contacted Singapore Microsoft support regarding the problem ..Unfortunately they are not able to help me and eventually direct me here.
i'm not 100% sure if this problem is due to ODP.net provider or asp.net IIS setting .
Hopefully Microsoft Experts here can help me up. Thx

Introduction
=================================================
We are using ODP.net (version 9.2.0.4.01) as data provider for Oracle
in our dotnet app. Currently we are using Microsoft.NET Framework 1.1
(VS.net IDE 2003) in our C# project.

Problem Description
=================================================
One thing I feel strange is that every time the ASPX application ended
(closed and disposed the connection object), the Oracle session
connection never killed.

These eventually bring us to oracle connections used up situation :(

Based on my experiment, The problem will not occur while running
Window app or ASPX app using IIS 6 (w3wp.exe) in Window 2003.

Since we r using the same data access base classes for Window and
Web apps, there is not possible for the error to happen alone in web App.
We did close and dispose the connection object as shown in oracle ODP.net
samples(in ' Using block ').

They do happen in WinXP pro and Win2k Pro for IIS 5.X (haven't tried
in win2k server).

I have checked the Oracle Enterprise Management Console which showing
that the aspnet_wp processes are running even closing up any ASPX web app
browser window and VS.net IDE 2003.
Some Temporary Solutions
==================================================

By referring to the Google forum, in order to kill this "Never ended"
oracle connections, what I need to do is to restart the WWW service in
Window Component Services.

But I do not think this is a practical solution in order to solve the
problem in real time.

By refering to discussion in Oracle OTN forum, some of the guys said
turning off the connnection pool will solve the problem. but again do u
think this is pratical in operating environment ?

I suspect this are some configuration errors in asp.net state
management or IIS settings. I tried to turn off the session in web.config
but the problem is still there. i wonder if i should do anything in the
processmodel setting in machine.config .

Finally
=======

Can any expert provide me a suggestion regarding the problem?
I strongly believe that there sure have a solution for it since many ppl have inplemented .Net framework project in win2k server for the past few
years.
Hopefully my description is clear enough to well shape the problem.

Have a nice day. Thanks.
Best Regards,
Steve FOO

Nov 18 '05 #3

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

Similar topics

7
by: Geoff Muldoon | last post by:
Hi all, Help please. Environment: Unix (Tru64) / Apache / PHP4.0.6 / Oracle8i Establish connection to Oracle: for ($I=0; $I<$max_attempts; $I++) {
1
by: pleake | last post by:
Following is a logon.asp script. This script works when IIS is reset each day. The epapi object is a vendor api program I do not have the code for! The logon process involves three servers: ...
3
by: Harry | last post by:
Using Oracle 8i enterprise on win 2000 (sp3) Installed the standard configuration & whenever I make a connection it takes about 10 secs. It's running on a P1900 with 1gb Ram so no reason there...
1
by: Eirik Tryggeseth | last post by:
During deployment of an application using distributed transactions managed under COM+ on an Oracle 9i RAC database, we encounter situations where the load balancing mechanisms in the RAC result in...
0
by: totierne | last post by:
comp.databases.ms-access, I want to know how to use Oracle views with session variables in Access. The parameterised views in access, are migrated to views with per session variables. The...
4
by: Steve | last post by:
We are using ODP.net (version 9.2.0.4.01) as data provider for Oracle in our dotnet app. Currently we are using Microsoft.NET Framework 1.1 (VS.net IDE 2003) in our project. One thing I feel...
0
by: alex | last post by:
Hi currently i'm working on a project with asp.net. Upon going live, I realised that the process thread aspnet_wp.exe increased with every page hits and with every login session, the thread...
6
by: sarat | last post by:
How to connect to oracle using C++ program and select some data from a table?
2
by: Vinod Sadanandan | last post by:
All, Below listed are the new features in Oracle 11g ,please join me in this discussion to generate a testcase and analyze each of the listed features . Precompilers:...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...

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.