让 Oracle 客户端在 Windows 7 RC 上工作

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/905886/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 01:53:29  来源:igfitidea点击:

Getting Oracle client to work on Windows 7 RC

oraclewindows-7

提问by Calanus

Has anyone had any luck in getting an Oracle client to install and work with Windows 7 RC? I went and upgraded from Vista to Windows 7 but having terrible problems getting my Oracle databases to work...

有没有人有幸让 Oracle 客户端安装和使用 Windows 7 RC?我从 Vista 升级到 Windows 7,但在让我的 Oracle 数据库正常工作时遇到了可怕的问题......

采纳答案by Calanus

Phew I eventually worked it out. I downloaded the Oracle Instant Client x86 and copied that and setup up my environment variables (PATH, LD_LIBRARY, TNS_ADMIN). The problem I had before was that I downloaded the x64 version which won't work with Toad which is an x86 app! As soon as I installed the x86 version the problem was solved....

呼我最终解决了它。我下载了 Oracle Instant Client x86 并复制了它并设置了我的环境变量(PATH、LD_LIBRARY、TNS_ADMIN)。我之前遇到的问题是我下载了 x64 版本,该版本不适用于 x86 应用程序 Toad!一旦我安装了 x86 版本,问题就解决了....

回答by wbinford

I ran into similar issues.

我遇到了类似的问题。

After downloading the Oracle 10g client for Vista (10203_vista_w2k8_x86_production_client.zip) from the Oracle web site, I unzipped the files, right-clicked on setup.exe, and selected Run As Administrator.

从 Oracle 网站下载适用于 Vista 的 Oracle 10g 客户端 (10203_vista_w2k8_x86_production_client.zip) 后,我解压缩文件,右键单击 setup.exe,然后选择以管理员身份运行。

Within the Oracle Universal Installer, I selected Administrator, clicked the Next button, and then selected the Oracle home name and path and clicked the Next button.

在 Oracle Universal Installer 中,我选择了管理员,单击了下一步按钮,然后选择了 Oracle 主目录名称和路径并单击了下一步按钮。

As mentioned in other answers, the installer failed on the next screen, "Product-Specific Prequisite Checks". The specific failure was "Checking operating system requirements..." in the third column, there is a check box (which was not checked). I clicked in the check box and the installer changed the status to "Not executed". When I clicked the Next button, it warned me that the install may fail. I clicked Okay. I was able to install without further issue.

如其他答案中所述,安装程序在下一个屏幕“特定于产品的先决条件检查”中失败。具体失败是“正在检查操作系统要求...”在第三列中,有一个复选框(未选中)。我单击了复选框,安装程序将状态更改为“未执行”。当我单击“下一步”按钮时,它警告我安装可能会失败。我点了好。我能够安装而没有进一步的问题。

It is not intuitive and the Oracle 11g client may be different, but this worked for me.

它不直观,Oracle 11g 客户端可能有所不同,但这对我有用。

-Weston

-韦斯顿

回答by dritterweg

I had the same issue. What I did to solve this problem was: - right click on the setup - choose Troubleshoot Compatibility - it will popup a window "Test Compatibility settings for the program". It tells me which version is it compatible with and Windows 7 will activate that setting for you. In my case was Windows XP service pack 2 is the setting used to install this Oracle 10g client - click on the button "Start the program" it will run the installer - done

我遇到过同样的问题。我为解决这个问题所做的是: - 右键单击​​设置 - 选择兼容性疑难解答 - 它会弹出一个窗口“测试程序的兼容性设置”。它告诉我它与哪个版本兼容,Windows 7 将为您激活该设置。在我的情况下,Windows XP Service Pack 2 是用于安装此 Oracle 10g 客户端的设置 - 单击“启动程序”按钮,它将运行安装程序 - 完成

回答by Koraiem

It Worked with me, I had to do the following: (all after installing oracle in either compatibility mode or skipping the OS check results)

它对我有用,我必须执行以下操作:(在以兼容模式安装 oracle 或跳过操作系统检查结果之后)

1- Set up the %Oracle_Home% in the environment variables.

1- 在环境变量中设置 %Oracle_Home%。

2- Configured "tnsnames.ora, listener.ora and sqlnet.ora" to make sure they match

2- 配置“tnsnames.ora、listener.ora 和 sqlnet.ora”以确保它们匹配

3- Replaced a malfunctioning DLL for sql*plus (I found the original one in the setup's temp file, just by using search from windows)

3- 为 sql*plus 替换了一个有故障的 DLL(我在安装程序的临时文件中找到了原来的 DLL,只是通过使用 Windows 搜索)

4- Logged into sqlplus from command line (sys /as dba) and created a user with high privileges (cuz you can't build a repository with "system" or "sys"

4- 从命令行(sys /as dba)登录到 sqlplus 并创建了一个具有高权限的用户(因为您不能使用“system”或“sys”构建存储库

5- Used this new user to create the repository from the RAU (Repository Administration Utility), and here you go!

5- 使用这个新用户从 RAU(存储库管理实用程序)创建存储库,然后就可以了!