Win7下,启动SQLTools,报:OCI8: Cannot allocate OCI handle

版权声明:转载请以链接形式注明出处 https://blog.csdn.net/pan_tian/article/details/8001196
Win7下,启动SQLTools,报:OCI8: Cannot allocate OCI handle

详细错误:
Please make a post about this problem in the forum:
    http://www.sqltools.net/cgi-bin/yabb25/YaBB.pl
We need the stack trace (see below) and short description
what were you doing when this problem occurred (desirable but optional).

OCI8: Cannot allocate OCI handle.
See http://sqltools.net/cgi-bin/yabb2/YaBB.pl?board=sqlt_faq

Program: SQLTools 1.6 Beta build 15
Location: .\SQLTools.cpp(272).
Platform:  Professional, Service Pack 1 (Build 7601)
COMCTL32.DLL: 6.10.7601.17514
OCI.DLL: 10.2.0.1.0

Stack at the catch point:
0x76f00c22        ZwGetContextThread() + 0x12


解决方法:

1. 安装到x:\Program Files下,不要安装到x:\Program Files (x86)下

2.安装Oracle Client

3.控制面板 > 操作中心 > 更改用户账户控制设置 > 把通知级别设置到最低“从不通知”,然后重新启动系统。


上面三步做了,如果仍然遇到这个错,那么检查ORACLE_HOME是否设置正确,多半是ORACLE_HOME不对引起的。(最好指向10G的home,Oracle11的home好像识别不了)


SQLTOOLS官方关于这个错误的一个帖子:http://www.sqltools.net/cgi-bin/yabb25/YaBB.pl?num=1159232792

展开阅读全文

没有更多推荐了,返回首页