错误:指定的DSN包含驱动程序和应用程序之间的体系结构不匹配

错误:指定的DSN包含驱动程序和应用程序之间的体系结构不匹配

问题描述:

。我尝试将Visual Studio 2008中的BI项目连接到mysql数据库。因此我在开始>程序>管理工具>数据源 [win 7]中定义了odbc连接,然后尝试连接成功。

. I try to connect my BI project in visual studio 2008 to mysql database. so I defined odbc connection in Start > Programs > Administrative Tools > Data Sources [win 7] and I tasted it, it connected successfully .

但是当我想打开它时VS>视图>服务器资源管理器中连接,我看到此错误:

but when I want to open this connection in VS > "View" > "Server Explorer", I see this error:


错误[IM014] [Microsoft] [ODBC驱动程序管理员]指定的DSN
包含驱动程序和应用程序之间的体系结构不匹配

ERROR [IM014] [Microsoft][ODBC Driver Manager] The specified DSN contains anarchitecture mismatch between the Driver and Application

即使我在文本框中输入 root作为用户名并通过空[bc我没有为我的mysql数据库设置通行证],但是什么都没有改变!

even I put "root" as user name in the text box and pass empty [bc I didn`t set pass for my mysql db] , but nothing changed!!

http://msdn.microsoft.com/en-us/library/ ms712362%28v = vs.85%29.aspx

如果您使用64位odbcad32.exe来配置或删除连接到32位驱动程序,例如Driver do Microsoft Access(* .mdb),您将收到以下错误消息:

If you use the 64-bit odbcad32.exe to configure or remove a DSN that connects to a 32-bit driver, for example, Driver do Microsoft Access (*.mdb), you will receive the following error message:

指定的DSN包含两个之间的体系结构不匹配驱动程序和应用程序

The specified DSN contains an architecture mismatch between the Driver and Application

要解决此错误,请使用32位odbcad32.exe配置或删除DSN。

To resolve this error, use the 32-bit odbcad32.exe to configure or remove the DSN.