Skip to Main Content

ODP.NET

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

dynamically change from app.config settings

didisoftDec 28 2015 — edited Dec 29 2015

hi list,

i try to connect to an ssl secured oracle db via odp.net (v: 4.121.2.0) managed

i made a setup within app.config without connection settings. the connectionstring i add later dynamically, via OracleConnectionStringBuilder.

this i do, because the app get the values via a form.

most of the settings i can do via OracleConnectionStringBuilder, but there are some settings which i can set only within the app.config file.

eg: the WALLET_LOCATION or the trace options

after read the doc's (Configuring Oracle Data Provider for .NET) some times and search in web i'm not able to find a solution to set this values dynamically.

what i search for it, is a way to assign a manually and/or dynamically created xml config file (only the part under: oracle.manageddataaccess.client>

at runtime to the DbProviderFactory or a way to set this values at runtime.

any help or link is high welcome.

thanks in advance

best regards dietmar

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 26 2016
Added on Dec 28 2015
3 comments
1,306 views