PC Review Forums Newsgroups Microsoft DotNet Microsoft ADO .NET Web Applications and Oracle

Reply

Web Applications and Oracle

 
Thread Tools Rate Thread
Old 22-06-2006, 07:15 PM   #1
=?Utf-8?B?LUpGLQ==?=
Guest
 
Posts: n/a
Default Web Applications and Oracle


Hi there!, I'm developing an application in asp.net and Oracle, but I have
the following problem, and is that the number of Sessions that connect to the
databases from my app growing and growing until the database displays an
ORA-00020, instead of use only one connections per user, I have two types of
connections in the database, one Shared and Dedicated, when I look at the
number of connections from the database, appears "n" connections (all of them
with status INACTIVE), is there any way to efficiently connect to the
database from web app's and use only one connection for each client? in the
code I have a cnnDB.Open(); and a cnnDB.Close(), each time I access to the
database, can you help me?
  Reply With Quote
Old 23-06-2006, 11:22 PM   #2
Matt Noonan
Guest
 
Posts: n/a
Default Re: Web Applications and Oracle

-JF- wrote:
> Hi there!, I'm developing an application in asp.net and Oracle, but I
> have the following problem, and is that the number of Sessions that
> connect to the databases from my app growing and growing until the
> database displays an ORA-00020, instead of use only one connections
> per user, I have two types of connections in the database, one Shared
> and Dedicated, when I look at the number of connections from the
> database, appears "n" connections (all of them with status INACTIVE),
> is there any way to efficiently connect to the database from web
> app's and use only one connection for each client? in the code I have
> a cnnDB.Open(); and a cnnDB.Close(), each time I access to the
> database, can you help me?


You could use an already established framework that reliably handles this
situation, such as the Enterprise Library.

http://msdn.microsoft.com/library/d...html/entlib.asp

--
Matt Noonan
EasyObjects.NET: The O/RM for the Enterprise Library
http://www.easyobjects.net


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off