win7下非管理员用户使用sqlplus 10.2.0.1版本遇到的问题--SP2-1503: Unable to initialize Oracle call interface
最近有个朋友遇到一个问题:
pb开发的cs架构的应用程序,客户端操作系统是win7(32bit or 64bit),先安装了oracle database client 10.2.0.1 32bit,然后以非管理员用户登录到win7之后(无论登录还是不登录到域,应该都有如下的报错),sqlplussystem/abcdefg@orcl都无法使用(既然sqlplus都没法用,应用程序也肯定登录不到db中),报错为:
SP2-1503: Unable to initialize Oracle call interface SP2-0152: ORACLE may not be functioning properly
这个报错在:SP2-1503 When Run SQLPlus 10.2.0.1 as a Non-Admin User on Windows 7 (文档 ID 1531248.1)文章中有记录。如下全文转载:
SQL*Plus - Version 10.2.0.1 and later
Information in this document applies to any platform.
When attempting to run SQL*Plus 10.2.0.1 as a user other than Administrator, the following error occurs:
Steps to Reproduce:
The issue can be reproduced at will with the following steps:
1. Run sqlplus from the command line as a non-Administrator user.
2. Errors occur.
3. Run the sqlplus command as Administrator user, then the errors do not occur.
Installed Oracle Client 10.2.0.1.0 on Windows 7 32 bit.
You are encountering a known issue:
Bug 4684738 - NON-ADMINISTRATOR USER UNABLE TO USE CLIENT SQLPLUS INSTALL
The minimum version of Oracle Database Client that is certified with Windows 7 (32 bit) is 10.2.0.5.0.
Version 10.2.0.1.0 is not certified for Windows 7.
The error does not occur using SQL*Plus 10.2.0.5.0
Upgrade SQL*Plus from 10.2.0.1.0 to 10.2.0.5.0.
Oracle Database 10g Release 2 Client 32 bit (10.2.0.5 and higher) is certified for Windows 7 32 bit.
BUG:4684738 - NON-ADMINISTRATOR USER UNABLE TO USE CLIENT SQLPLUS INSTALL
NOTE:1061272.1 - Statement of Direction: Oracle Database 10g Release 2 Client (10.2.0.5) with Microsoft Windows 7 and Windows Server 2008 R2
NOTE:391401.1 - Unable to Connect in SQL Plus if Windows Vista user is a Non-Administrative User