2014-12-20 227 views
0

在Windows Server 2008 R2 64位(Windows \ SysWoW64)上创建odbc 32位。 odbc 32位的连接测试运行良好。但SQL Server 2012中的链接服务器64位给出了此错误:SQL Server 2012链接服务器错误7303

Cannot initialize the data source object of OLE DB provider "MSDASQL" for linked server "databaseX". OLE DB provider "MSDASQL" for linked server "databaseX" returned message "[Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application". (Microsoft SQL Server, Error: 7303)

它在Windows 7 64位驱动程序和Excel结合使用时也能很好地工作。你能帮我吗?

问候,

回答

0

我有一个同样的问题。验证:

驱动程序ODBC是驱动程序MySQL的相同版本(32或64位)。

在ODBC相关(32或64位版本)上创建,配置和测试连接; 查看ODBC(32)系统DSN显示在ODBC(64)系统DSN上创建的配置。 我很抱歉没有发布打印屏幕。为什么我是一个新用户。

然后为ODBC创建一个链接服务器。