Re: ORA-00020: maximum number of processes (%s) exceeded
- From: "John G" <jwgiblin3@xxxxxxxxxxx>
- Date: 18 Sep 2006 17:44:36 -0700
Thanks Cowboy. Should I also make the connection = null;
Cowboy (Gregory A. Beamer) wrote:
Go through and call Dispose on connections when finished with them. Profile
the connections in Oracle and ensure they are being closed (I have seen
instances where this is not true and it is not good). You should also ensure
the connections are used for as short a time as possible.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
*************************************************
Think outside of the box!
*************************************************
"John G" <jwgiblin3@xxxxxxxxxxx> wrote in message
news:1158351673.592815.126750@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I have been using the OleBDhelper
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/daab.asp)
with oracle. With a small group of people we recieved the following
message:
ORA-00020: maximum number of processes (%s) exceeded
Looking at some of the code in the OledbHelper, I noticed that there
was no close method on the connection. Can this be it. Also, I saw from
another user was they also set the connection to null so the garbage
collection would clean up that connection. thanks in advance.
Code:
public static DataSet ExecuteDataset(string connectionString,
CommandType commandType, string commandText, params OleDbParameter[]
commandParameters)
{
//create & open an OleDbConnection, and dispose of it after we are
done.
using (OleDbConnection cn = new OleDbConnection(connectionString))
{
cn.Open();
//call the overload that takes a connection in place of the
connection string
return ExecuteDataset(cn, commandType, commandText,
commandParameters);
}
}
.
- References:
- ORA-00020: maximum number of processes (%s) exceeded
- From: John G
- Re: ORA-00020: maximum number of processes (%s) exceeded
- From: Cowboy \(Gregory A. Beamer\)
- ORA-00020: maximum number of processes (%s) exceeded
- Prev by Date: RE: gridview databind timeout
- Next by Date: Re: ODBC or OLE DB
- Previous by thread: Re: ORA-00020: maximum number of processes (%s) exceeded
- Next by thread: Re: Sybase ASE client to connect to Sybase System 11
- Index(es):
Relevant Pages
|