在 Windows 7 上连接到 Oracle

发布于 2024-09-24 19:34:34 字数 271 浏览 3 评论 0原文

我已在 Windows 7 计算机上安装了 Oracle Client 10g 32 位和 ODAC 11g R2,但在 MS ODBC 管理中或者当我尝试在 SQL Server Management Studio 或 Visual Studio 2010 中创建指向 Oralce 的链接服务器时,我看不到任何 Oracle 提供程序任何人都可以帮我做什么吗?我可以通过 SQLPlus 连接到 Oracle 服务器,但在使用 Oracle 的 MS 提供程序通过 VS 2010 连接时出现错误。

请帮忙!

I have installed Oracle Client 10g 32 bit and ODAC 11g R2 on my Windows 7 machine, but I cannot see any Oracle Providers in MS ODBC Administration or when I try to created a linked server to Oralce in SQL Server Management Studio or in Visual Studio 2010. Can anyone please help me out as what to do? I can connect to Oracle server through SQLPlus but get errors when connecting through VS 2010 using MS providers for Oracle.

Please help!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

甜宝宝 2024-10-01 19:34:34

您在安装Oracle Client时是否也安装了ODBC驱动程序? IOW,您是否进行了自定义安装并添加了 ODBC 驱动程序?除非您执行完整的客户端安装,否则不会安装 ODBC 驱动程序。

When you installed the Oracle Client, did you also install the ODBC driver? IOW, did you do a custom install and add in the ODBC driver? Unless you do a full client install the ODBC drivers are not installed.

别再吹冷风 2024-10-01 19:34:34

您没有指定您的 Windows 7 安装是 32 位还是 64 位。

如果是 32 位,请参阅前面的答案,重新启动 Oracle 安装程序并检查是否选择了 ODBC。

如果是 64 位,我建议您安装 32 位的 Oracle 客户端(就像您所做的那样)和 64 位的 Oracle 11 客户端,以便您可以使用正确的库。

无论如何,我仍然没有找到一种在 Windows 7(64 位)上执行 Oracle 安装的正确方法,该方法适用于每个客户端和工具组合,祝你好运。

You're not specifying if your windows 7 installation is 32 or 64 bit.

If it's 32 bit then see the previous answer, restart Oracle installer and check that ODBC is selected.

If it's 64 bit I advise you to install both the Oracle client in 32 bit (as you did) and also the Oracle 11 client in 64 bit, so that you can use the proper library.

In any case I still haven't found a proper way to perform Oracle installation on Windows 7 (64 bit) that works for every client and tool combination, good luck.

罪歌 2024-10-01 19:34:34

我也为此苦苦挣扎了一段时间,我找到的最佳解决方案就在这里:

http://dotnetcrap.blogspot.com/2009/08/oracle-client-on-windows-7.html

I struggled with this for a while too, best solution I found was here:

http://dotnetcrap.blogspot.com/2009/08/oracle-client-on-windows-7.html

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文