Reputation: 2192
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)?
Upvotes: 2
Views: 2367
Reputation: 1840
I fid Oracle Locator Express to be a useful tool. This will let you change your ORACLE_HOME on the fly: Oracle Locator Express
Upvotes: 0
Reputation: 425421
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.
Upvotes: 2