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!

ODAC 12c for xcopy issues

Alex.leeSep 2 2013 — edited Sep 4 2013

Hi, all

   Today I upgraded  ODAC 12c client for our product. I always used xcopy version. It's easy to deploy. But I met 2 issues in the newest xcopy version:

1. Dot not support folder with spaces.

    My install command: install odp.net4 "C:\Program Files\Common Files\ODP.NET" TestODAC
    The exception:
       Invalid syntax.
       Type "REG ADD/?" for usage.

       Invalid syntax.
       Type "REG ADD/?" for usage.

    Solution:

       Open configure.bat file and find
       reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.0.30319\AssemblyFoldersEx\ODP.Net" /ve /t REG_SZ /d %BAT_DIR%odp.net\bin\4 /f >> install.log
       ------>
       reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.0.30319\AssemblyFoldersEx\ODP.Net" /ve /t REG_SZ /d "%BAT_DIR%odp.net\bin\4" /f >> install.log

2. Can not use ODP.NET, Unmanaged Driver .
   
   This is my provide settings:

  <Provider DBType="Oracle"

            Invariant="Oracle.DataAccess.Client"

            ConnectionStringBuilder="BDNA.DAC.OracleDirectConnectionStringBuilder">

    <ConnectionString>

      <![CDATA[Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=${HOST})(PORT=${PORT})))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=ora11g)));

               User Id=xxx;

               Password="xxx";]]>

    </ConnectionString>

  </Provider>

     The Exception: Application popup: DACTest.exe - System Error : The program can't start because oraons.dll is missing from your computer. Try reinstalling the program to fix this problem.

They are very strange issues. When I using setup version, Everything is ok.  Anybody know what should I do?  Any suggestion is great help for me. Thanks.

This post has been answered by Alex Keh-Oracle on Sep 4 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 2 2013
Added on Sep 2 2013
5 comments
10,635 views