数据源的连接验证失败?

时间:2015-07-31 07:30:25

标签: 32bit-64bit coldfusion-11

我正在使用您的试用产品InterBase ODBC Driver连接远程borland interbase 7数据库。我已经使用Easysoft Interbase ODBC DSN设置验证了连接(请参阅附件DSN_connection.png)并成功测试show connection,但是当我尝试引用时同样的系统DSN进入coldfusion服务器11数据源设置,我们收到以下错误信息:

Connection verification failed for data source: GarrettDB
java.sql.SQLException: [Macromedia][SequeLink JDBC Driver][ODBC Socket]internal error: The specified DSN contains an architecture mismatch between the Driver and Application
The root cause was that: java.sql.SQLException: [Macromedia][SequeLink JDBC Driver][ODBC Socket]internal error: The specified DSN contains an architecture mismatch between the Driver and Application

客户端系统配置 在这里,我们安装InterBase ODBC Driver并创建系统DSN。

操作系统:Window 2012服务器,标准64位

Coldfusion服务器11 - 64位

Interbase服务器系统配置:

操作系统:window 2000 server 32-bit

Borland Interbase数据库 - 7

enter image description here

我没有弄清楚为什么会收到此错误消息,如果您有任何解决方案,请建议。

由于

1 个答案:

答案 0 :(得分:1)

您需要检查计算机上安装的OBDC驱动程序版本。您需要创建指向32位版本的ODBC或64位版本ODBC的DSN,具体取决于您使用的ColdFusion版本。以下是搜索ODBC驱动程序的路径。

  • C:\ Windows \ SysWOW64或
  • C:\ Windows \ System32(取决于版本)。

之后请搜索obbcad32应用程序文件并在那里创建DSN。

如果配置良好,您可以尝试以另一种方式设置数据源。登录CFAdmin并转到数据源。通过选择 DB2 Universal Database 驱动程序来创建数据源。指定在ODBC驱动程序DSN中创建时提供的相同服务器名称。希望这会对你有所帮助。