博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Oracle64位问题(ODAC112021Xcopy_x64)
阅读量:5863 次
发布时间:2019-06-19

本文共 3521 字,大约阅读时间需要 11 分钟。

Cd F:\Software\DBSoft\ODAC112021Xcopy_x64

F:

F:\Software\DBSoft\ODAC112021Xcopy_x64\install.bat all D:\app\Administrator\product\11.2.0\client_1 OraClient11g_home1

--------------------------------------------------------------------------------------------------------------------

4. Add the install directory and install directory's bin subdirectory    to the system PATH environment variable before any other Oracle directories.     Otherwise, the products that are installed may not work properly as it    will not be able to load the necessary DLLs.  for example, if c:\oracle    was provided as the install directory, add c:\oracle and c:\oracle\bin    to the system PATH.

--- 环境变量

   Path = D:\app\Administrator\product\11.2.0\client_1;D:\app\Administrator\product\11.2.0\client_1\bin;D:\app\Administrator\product\11.2.0\dbhome_1\bin;

5. Note that install.bat sets the value of the NLS_LANG registry key at    HKLM\Sofware\Oracle\KEY_<Oracle Home Name> to AMERICAN_AMERICA.WE8MSWIN1252    by default.  Please modify install.bat or change this value in the registry    after the install if necessary.

---注册表

   NLS_LANG = SIMPLIFIED CHINESE_CHINA.ZHS16GBK

6. If OraMTS is installed, the OracleMTSRecoveryService is created with the    LocalSystem account as the logon account.  The credentials can be changed    using the "services" administration tool.  Please read the OraMTS    readme.txt for details.  Note that after the install or the configuration,    the service will not be started, since it requires the install directory    and its bin directory to be included in the system PATH.

7. Application using components from ODAC can use EZ CONNECT to connect to    Oracle without depending on tnsnames.ora.  Otherwise,    configure or copy over tnsnames.ora from another machine and set TNS_ADMIN    or ORACLE_HOME environment variable appropriately. 

---环境变量

   TNS_ADMIN = D:\app\Administrator\product\11.2.0\dbhome_1\NETWORK\ADMIN

   NLS_LANG = SIMPLIFIED CHINESE_CHINA.ZHS16GBK

   ORACLE_HOME = D:\app\Administrator\product\11.2.0\dbhome_1

 --------------------------------------------------------------------------------------------------------------------

如果安装 PL/SQL Developer,下载“instantclient-basic-nt-11.2.0.3”

     在perference->Connection里面设置OCI Library和Oracle_Home,例如本机设置为:

     Oracle Home :X\instantclient_11_2
     OCI Library :X\instantclient_11_2\oci.dll

--------------------------------------------------------------------------------------------------------------------

 

copy D:\App\Administrator\product\11.2.0\client_1\odp.net\bin\4\Oracle.DataAccess.dll C:\Windows\assembly\GAC_32\Oracle.DataAccess\4.112.2.0__89b483f429c47342\

{"Could not load file or assembly 'Oracle.DataAccess, Version=4.112.2.0, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. An attempt was made to load a program with an incorrect format."}

Could not load file or assembly 'Oracle.DataAccess' or one of its dependencies. Access is denied. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileLoadException: Could not load file or assembly 'Oracle.DataAccess' or one of its dependencies. Access is denied.

-------------------------------------------------------------------------------------------------------------------

如果安装Oracle后,配置了ODAC,又安装了一个Oracle的实例,需要重新配置系统环境

把ODAC执行放在前面,否则会提示Oracle版本冲突

如Path=D:\app\Administrator\product\11.2.0\client_1;D:\app\Administrator\product\11.2.0\client_1\bin;

 

 

转载地址:http://etunx.baihongyu.com/

你可能感兴趣的文章
function 与 => 的区别
查看>>
VBScript:写excel的例子
查看>>
TYVJ P1077 有理逼近 Label:坑,tle的好帮手 不懂
查看>>
面试题:缓存Redis与Memcached的比较 有用
查看>>
通过UIWebView加载读取本地文件
查看>>
由于缺少证书链,导致Android手机提示网站不安全
查看>>
EXCEL自动撤销合并单元格并填充相应内容(转帖)
查看>>
Python3学习笔记10-条件控制
查看>>
Nginx 1.2.6 稳定版发布
查看>>
黄聪:如何使用CodeSmith批量生成代码(原创系列教程)
查看>>
HDOJ---1421 搬寝室[DP]
查看>>
熬过了互联网“寒冬”,接下来的金三银四你该怎么面试进BAT?
查看>>
JS 中的== 与 ===
查看>>
ES6 - 收藏集 - 掘金
查看>>
13.11. this is incompatible with sql_mode=only_full_group_by
查看>>
Python Module_openpyxl_处理Excel表格
查看>>
css动画实现div内图片逆时针旋转
查看>>
CSS的工作过程
查看>>
为什么码农要了解业务?
查看>>
微软整合实验(七):布署Exchange2010 Mailbox高可用(DAG)
查看>>