SSIS:BIDS 2008 中的 ODBC 连接问题

发布于 2024-10-06 20:31:49 字数 339 浏览 1 评论 0原文

我有一个需要与之通信的 Oracle DB,因此我安装了驱动程序并将其添加到系统 DSN 数据源中。 IM ON SQL SERVER 2008 R2 64位

在 BIDS 中,我可以看到数据源的名称,但是当我在连接管理器中输入它时,出现以下错误:

标题:连接管理器

测试连接失败,因为初始化提供程序时出错。错误 [IM014] [Microsoft][ODBC 驱动程序管理器] 指定的 DSN 包含驱动程序和应用程序之间的体系结构不匹配 有关

如何解决此问题的任何想法吗?

我可以通过 SQL Plus 连接到 Oracle DB,所以我知道我有连接。

谢谢!

I have an oracle DB i need to talk to so i installed the drivers and added it to the system DSN Data Sources. IM ON SQL SERVER 2008 R2 64bit

In BIDS, I can see the name of the DataSource, however when i go to enter it in the connection manager I get the following error:

TITLE: Connection Manager

Test connection failed because of an error in initializing provider. ERROR [IM014] [Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application

Any Ideas on how to resolve this?

I can connect to the Oracle DB through SQL Plus so i know i have connectivity.

Thanks!

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

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

发布评论

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

评论(2

晚雾 2024-10-13 20:31:49

当您安装 11g 客户端时,我假设您进行了自定义安装并安装了 ODBC 驱动程序,对吧?您使用 Oracle 驱动程序而不是 Microsoft 驱动程序设置 ODBC DSN?您是否使用 ODBC 向导测试了 DSN?

When you installed the 11g client, I assume you did a custom install and installed the ODBC driver, right? And you set your ODBC DSN up using the Oracle Driver, not the Microsoft Driver? Did you test the DSN with the ODBC wizard?

自控 2024-10-13 20:31:49

@kevin

由于初始化提供程序时出错,测试连接失败。错误 [IM014] [Microsoft][ODBC 驱动程序管理器] 指定的 DSN 包含驱动程序和应用程序之间的体系结构不匹配,

可以通过使用 32 位驱动程序进行 Oracle 连接并设置包运行时属性以设置 64 位运行时来解决此错误错误的。

还可以使用 32 位 Oracle 驱动程序创建 odbc dsn。在 64 位计算机上搜索 odbc32.exe。它的路径是以下C:\Windows\SysWOW64\odbcad32.exe。
以管理员身份运行此程序并在 SSIS 包中使用此 DSN,问题将得到解决。

@kevin

The Test connection failed because of an error in initializing provider. ERROR [IM014] [Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application

this error can be resolved by using a 32 bit driver for oracle connectivity and setting the package runtime properties to set 64 bit runtime= false.

also create a odbc dsn by using the 32 bit oracle driver.on 64 bit machines search for odbc32.exe. the path for it is the following C:\Windows\SysWOW64\odbcad32.exe.
run this as an administrator and use this DSN in your SSIS package and the issue will be resolved.

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