I have a server with both 10g and 11g clients installed. How do I setup the connection string to tell my ASP.NET application to use the second client which is 11g (i.e. OraClient11g_home2)?
+1
A:
From documentation:
In
ODP.NET 10.2.0.2.20
and higher,ODP.NET
can run more than one activeOracle Home
concurrently without requiring any special setup by the administrator.When
ODP.NET
is installed, theDL
L search path will be based on the following order:
- directory of the application/executable
- directory specified by
HKEY_LOCAL_MACHINE\Software\Oracle\ODP.NET\<version>\DllPath
- directories specified by the
PATH
environment variableUpon an
ODP.NET
installation, theDllPath
registry value of typeREG_SZ
will be set to the%ORACLE_HOME%\bin
directory where the corresponding dependentDLL
s are installed.
Make sure you are using ODP.NET
as a provider and set your ORACLE_HOME
environment variable.
Quassnoi
2009-06-25 17:16:07
A:
I fid Oracle Locator Express to be a useful tool. This will let you change your ORACLE_HOME on the fly: Oracle Locator Express
Robert Durgin
2009-06-25 20:39:12