Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: How to specify an Oracle Home in .NET

Re: How to specify an Oracle Home in .NET

From: <tewall_at_lycos.com>
Date: 20 Jul 2005 07:26:21 -0700
Message-ID: <1121869581.179318.64520@g47g2000cwa.googlegroups.com>


Well I must be doing a poor job explaining what I'm wanting, because I'm NOT getting the answer I need. What I need is for .NET to specify the Oracle home it needs without screwing with the environment that everything else on the machine uses. I didn't see how the file you pointed to addressed this issue. It talked about determining what the environment variables are, which isn't what I need. I would need to have some way to set the variables within the same process which .NET is using which would take effect only for .NET.

Here's an analogy. When I run a java application, I can set the classpath, path, and environment variables within the same process that the java application is running from. So the environment for the java application, which could be a J2EE application (something analagous to a .NET application) is local in scope. The global settings for things like path, environment variables and so forth are not impacted, so no other applications running on the machine are impacted.

Hopefully I've made clear what I'm wanting to do. I want .NET to specify an Oracle Home locally, for its own use only, without having any impact on the rest of the system (i.e. other applications running on the same machine). From the research I've done so far, it appears that it is not possible to do this. I've not seen anything here which is saying that it is possible. I already have the application running and working, but in order to do so I had to globally change the Oracle Home, which isn't the way I am wanting to handle this.

Thanks in advance for any help with this. Received on Wed Jul 20 2005 - 09:26:21 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US