简体   繁体   English

SSIS:ODBC驱动程序管理器指定的DSN包含驱动程序和应用程序之间的体系结构不匹配

[英]SSIS: ODBC Driver Manager The specified DSN contains an architecture mismatch between the Driver and Application

I created a data flow task in SSIS. 我在SSIS中创建了一个数据流任务。 On double clicking, that task I added up ado.net source and destination. 双击该任务,我添加了ado.net的源和目标。 Under ado.net destination, I selected connection manager as odbc, and selected a user dsn. 在ado.net目标下,我选择了连接管理器作为odbc,并选择了一个用户dsn。

Now, before doing all this stuff, I installed odbc driver from ch-werner.de and created a user dsn. 现在,在完成所有这些工作之前,我从ch-werner.de安装了odbc驱动程序并创建了一个dsn用户。 In that process, I selected sqlite3 driver and my database is with the extension .sqlite. 在此过程中,我选择了sqlite3驱动程序,并且数据库的扩展名为.sqlite。

Now, that dsn is available at ado.net destination. 现在,可以在ado.net上找到该dsn。 But when I select table it shows me this error that "The specified DSN contains an architecture mismatch". 但是,当我选择表时,它向我显示了以下错误:“指定的DSN包含体系结构不匹配”。

在此处输入图片说明

To fix this stuff up, I researched some of the links. 为了解决这个问题,我研究了一些链接。 One was like, creating a 32-Bit data source names by running c:\\windows\\sysWOW64\\odbcad32.exe. 一个像,创建通过运行℃的32位数据源的名称:\\ Windows \\ SYSWOW64 \\ odbcad32.exe的。 But, when I am trying to create a new dsn through that, it's not having SQLITE3 driver under create new datasource. 但是,当我尝试通过它创建新的dsn时,它没有在SQLITE3驱动程序下创建新的数据源。

在此处输入图片说明

I uninstalled sqlodbc. 我卸载了sqlodbc。 Restarted my pc and ran the sqlodbc installation again. 重新启动我的电脑,然后再次运行sqlodbc安装。 Then, I was able to see sqlite3 drivers by running c:\\windows\\sysWOW64\\odbcad32.exe 然后,我可以通过运行c:\\ windows \\ sysWOW64 \\ odbcad32.exe来查看sqlite3驱动程序

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM