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!

ODP.Net Managed Only Installation Questions

80s RockerOct 18 2013 — edited Oct 23 2013

I have installed the ODP.Net managed drivers using the "ODP.Net Managed Only XCopy" installation on one of our IIS servers.  I have a few questions about the installation.

1) After running the configuration it adds the following setting to the machine.config This does not look correct to me, since the actual directory where the tnsnames,ora file is located in is C:\Oracle\ODP.NET\network\admin.  Can someone verify if the setting is correct in the machine.config and if so why is it set like that instead of just the actual directory path.

          <setting name="tns_admin" value="c:\oracle\odp.net\v121010\managed\x64\..\..\..\network\admin" />         

          Shouldn't it be

          <setting name="tns_admin" value="C:\Oracle\ODP.NET\network\admin" />

2) It does not appear that a windows application we wrote to test the managed drive with uses the above setting or the value it is set to by the configuration.bat is not correct.  I could not get the windows application to work until I set the TNS_ADMIN environmental variable to "C:\Oracle\ODP.NET\network\admin".  That is not a big issue, since setting that variable is our standard, just curious why the application did not work with just the machine.config  tns_admin setting set.

Thanks in advance for any help given getting answers to these questions.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 20 2013
Added on Oct 18 2013
8 comments
1,350 views