zoukankan      html  css  js  c++  java
  • The specified DSN contains an architecture mismatch between the Driver and Application (zz.IS2120@B)

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

    如果希望DSN使用32位的驱动,应该使用c:\windows\sysWOW64\odbcad32.exe

    //z 2013-01-16 12:45:10 IS2120@BG57IV3.T395188329 .K[T21,L319,R11,V383]
    1.I created system dsn in odbc 32 bit and 64 bit under same name. the report server reads 32 bit and portal reads 64 bit so now its working fine.
    2. 一个解决方案
    //z 2013-01-16 12:45:10 IS2120@BG57IV3.T395188329 .K[T21,L319,R11,V383]

    On the side note, what odbc interface you used to create connection

    To manage a data source that connects to a 32-bit driver under 64-bit platform, use c:\windows\sysWOW64\odbcad32.exe. To manage a data source that connects to a 64-bit driver, use c:\windows\system32\odbcad32.exe.

    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:

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

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

    A data source associates a particular ODBC driver with the data you want to access through that driver. For example, you might create a data source to use the ODBC dBASE driver to access one or more dBASE files found in a specific directory on your hard disk or a network drive. Using the ODBC Data Source Administrator, you can add, modify, and delete data sources, as described in the following table.

    http://msdn.microsoft.com/en-us/library/ms712362(VS.85).aspx

    • Proposed As Answer by Tom Li - MSFTModeratorFriday, July 23, 2010 9:31 AM
    • Marked As Answer by Tom Li - MSFTModeratorMonday, July 26, 2010 2:21 AM
    错误 sql server odbc dsn 32bit 64bit x86 x64
  • 相关阅读:
    C# 把类实例保存到文件里(类的序列化和反序列化)
    C# 枚举的初始化
    旋转 3d
    asp.net页面间传值方式
    sql获取当前时间
    SqlServer中循环和条件语句示例!
    SQL Server 代理(已禁用代理 XP)
    JQuery源码实现
    C#计算一段程序运行时间的三种方法
    java开发配套版本
  • 原文地址:https://www.cnblogs.com/IS2120/p/6745780.html
Copyright © 2011-2022 走看看