Windows XP 64 bit
机器上使用PL/SQL链接Oracle的问题(Could
not initialize ".../oci.dll"
)
今天为了玩玩PL/SQL
Developer
,就在自己的64位台式机上安装PL/SQL Deve
loper
,安装过程很顺利,但是利用快捷方式启动后输入相应用户名跟密码后却得到了如下图所示的错误。
提示:
需要32位的客户端
,所以就到官网上下载了一个
32位的Oracle Client
,安装完成之后可以正常使用。
在网上溜达了一圈,摘录如下:
Initialization error
SQL*Net not properly installed
OracleHomeKey:
OracleHomeDir:
网上的
解决方法
是到工具-
首选项-oracle连接去配置oracle主目录名和oci库的位置
。
(Tools-Preferences-Oracle-Connection去配置Oracle Home和OCI library)
配置过后登陆时仍然报错:
Could not load "……/bin/oci.dll"
OCIDLL forced to……
LoadLibrary(……oci.dll) returned 0
解决办法是:在64位的机器上安装32位的Oracle客户端
,
这样的话便连接成功。
安
装PLSQL DEVELOPER 如果你要用win7 64, 那么你必须安装ORACLE 32位的版本。(如果安装64位版本,PLSQLDEV是
没法配置好OCI的,总是会提示操作系统不对应) "选择安装路径时,不要放在Program Files (x86) 这样的文件夹里" 所以我
们
把客户端装在了E:/ORACLE/***XX 这种目录,我想大家一般也是这么安装的吧 我不知道如果放在 Program Files (x86) 中会出什么问题,但事实是总有一些文件会放在里面,这个不用管,后面还是可以用。
依据:
从安装角度考虑,
32bit的平台(操作系统和硬件系统)只支持32bitORACLE的安装
;
64bit平台既支持32bitORACLE的安装也支持64位ORACLE的安装
;
根据PL/SQL Developer的官方论坛里面的帖子:
quote:
-------------------------------------------------------------------------------
I am not too fond of installing both 32 and 64 bit oracle clients on same machine - does it work at all?
-------------------------------------------------------------------------------
Yes, this works fine.
--这是管理员的回复
PL/SQL Developer is written in Delphi.
The first thing that needs to become available is a 64 bit version of the Delphi IDE.
另一列:
Hi when install in Windows Server 2003 R2 X64.
When I try to connect an account , I have the following message :
Initialization error
Could not load"E:/oracle/product/10.2.0/bin/oci.dll"
--以下是管理员的回复
Is this a 64 bit Oracle Client DLL?
If so, please note that you
need to install a 32 bit Oracle Client to use a 32 bit application like PL/SQL Developer
.
分享到:
相关推荐
主要介绍了Plsql Developer连接Oracle时出现Could not initialize oci.dll解决方案,需要的朋友可以参考下
NULL 博文链接:https://smartgwt.iteye.com/blog/1252268
instantclient-basic-windows.x64-11.2.0.4.0
解决64位操作系统PL/SQL不好连接Oracle数据,解决如下问题: Initialization error Could not initialize "D:\app\Happy\product\11.2.0\dbhome_1\bin\oci.dll" Make sure you have the 32 bits Oracle Client ...
解决:oracle_plsql连服务端时 Initialization error could initialize错误处理方法
监听COM口启动程序报错 Could not initialize class gnu.io.RXTXCommDriver异常 是因为需要在%JAVA_HOME%/jre/bin目录中添加rxtxParallel.dll、rxtxSerial.dll文件
Win7 x64 PL/SQL 连接 Oralce 提示 Could not initialize "%ORACLE_HOME%\bin\oci.dll" 缺少oci文件
PLSQL报错:can not initialize oci.dll Make sure you have the 64 bits Oracle Client installed
XP系统在回放LoadRunner11录制脚本时提示“Vuser failed to initialize extension LrXml.dll”的解决方法
内涵jacob_1.14.3-x64.dll;jacob_1.14.3-64.jdk(maven地址);解决方法:Could not initialize class com.jacob.com.ComThread
using System.Windows.Forms; using System.Data; using System.Data.OleDb; namespace DormMIS { /// /// Form1 的摘要说明。 /// </summary> public class Login : System.Windows.Forms.Form { private ...
java.lang.NoClassDefFoundError: Could not initialize class org.apache.derby.jdbc.AutoloadedDriver40 导致的原因: 在azkaban的server和executor中缺少一个叫derby.jar的包
使用javacpp技术,在32位linux系统上实现视频截图功能,注意so文件放在liberary_path里面
精彩编程与编程技巧-在VB中播放AVI文件 ...
Ajax-jquery.initialize.zip,用于动态创建元素初始化的jquery插件(几年前很好,在2019年 考虑react或其他东西而不是jquery),ajax代表异步javascript和xml。它是多种web技术的集合,包括html、css、json、xml和...
NULL 博文链接:https://fkshl.iteye.com/blog/1178391
NULL 博文链接:https://yuhuiblog695685688425687986842568269.iteye.com/blog/2414873
带有 React 的前端模板 ...如果你想在没有远程./initialize.sh -t情况下启动,请使用./initialize.sh -t 更新package.json 用正确的值更新author 、 name 、 version 、 description和repository url 运行np
背景: windows 7 64位操作系统,安装数据库:win64_11gR2_database_1of... Could not initialize C:oracleproduct10.2.0client_1inoci.dll Make sure you have the 32 bits Oracle Client installed. OCIDLL forc