IIB-通过mqsicvp连接到DB2 ODBC DSN时发生DLL初始化错误

IIB-通过mqsicvp连接到DB2 ODBC DSN时发生DLL初始化错误,dll,db2,odbc,Dll,Db2,Odbc,使用mqsicvp测试从IBM Integration Console到ODBC数据源的连接时出现以下错误 C:\Program Files\IBM\IIB\10.0.0.9>mqsicvp DEFAULTBRK -n MSAPP -v BIP8299I: User 'db2admin' from security resource name 'odbc::MSAPP' will be used for the connection to datasource 'MSAPP'. BIP2

使用mqsicvp测试从IBM Integration Console到ODBC数据源的连接时出现以下错误

C:\Program Files\IBM\IIB\10.0.0.9>mqsicvp DEFAULTBRK -n MSAPP -v
BIP8299I: User 'db2admin' from security resource name 'odbc::MSAPP' will be used for the connection to datasource 'MSAPP'.

BIP2393E: Database error: ODBC return code '-1' from data source ''MSAPP'' using ODBC driver manager ''odbc32.dll''.
The integration node received an error when processing a database operation. The ODBC return code was '-1'. See the following messages for information obtained from the database about this error.
Use the following messages to determine the cause of the error. Typical problems are an incorrect data source, or table names. Correct either the database or the integration node configuration. Use the mqsicvp command to test connectivity to this database.
BIP2322E: Database error: SQL State ''IM003''; Native Error Code '160'; Error Text ''Specified driver could not be loaded due to system error  1114: A dynamic link library (DLL) initialization routine failed. (IBM DB2 ODBC DRIVER - DB2COPY1, C:\PROGRA~1\IBM\SQLLIB\BIN\DB2CLIO.DLL).''.
The error has the following diagnostic information:     SQL State             ''IM003''     SQL Native Error Code '160'     SQL Error Text        ''Specified driver could not be loaded due to system error  1114: A dynamic link library (DLL) initialization routine failed. (IBM DB2 ODBC DRIVER - DB2COPY1, C:\PROGRA~1\IBM\SQLLIB\BIN\DB2CLIO.DLL).''
This message may be accompanied by other messages describing the effect on the integration node itself. Use the reason identified in this message with the accompanying messages to determine the cause of the error. Use the mqsicvp command to test connectivity to this database.

BIP8040E: Unable to connect to the database.
The database cannot be accessed with the specified user Id and password pair.
- Check that the database is running.
 - Check that the database has an adequate number of database connections available for use.
 - On Windows, check that an ODBC connection has been created.
 - On systems that use $ODBCINI, check that the file pointed to by $ODBCINI has been correctly updated.
 - On z/OS check the BIPDSNAO member of the component's dataset, and check the DB2 64bit ODBC driver (DSNAO64C) is in the STEPLIB.
 - Use mqsisetdbparms to set the password to the correct value and try again.
软件:Windows10/IIB10/DB2服务器

复制步骤:

  • 以系统DSN的形式设置到新DB2数据库的ODBC(64位)连接(使用IBM DB2 ODBC驱动程序版本11.01.2020.1393)
  • 从ODBC数据源管理员应用程序测试连接是否有效
  • 使用IBM Integration Console中的mqsisetdbparms设置用户和 密码
  • mqsisetdbparms DEFAULTBRK-n odbc::MSAPP-u uid-p pwd

  • 停止并启动代理
  • 使用mqsicvp测试连接性
  • mqsicvp DEFAULTBRK-n MSAPP

    错误中提到的DLL位于C:\PROGRA~1\IBM\SQLLIB\BIN,它已经包含在PATH变量中


    我不确定为什么要使用驱动程序管理器odbc32.dll-我想这是一个32位版本。但是,如果我尝试在32位ODBC数据源管理器应用程序中创建DSN,mqsicvp将失败,并出现一个错误,表示体系结构不匹配。

    建议您从IBM下载bug IT23069的修复程序。它是可用的(间接的),最终从它重定向到IBM fix central。为我工作。

    最新的开发者版工具包10.0.0.12似乎已经解决了这个问题。

    你检查过@mao了吗?我刚才检查过了,但没有帮助。我正在创建一个64位DSN,它应该可以工作。路径已存在于路径中。mqsicvp的位是多少?@mao使用包含mqsicvp.Check的64位版本的IIB developer edition。这个症状也出现在其他应用程序中,尽管APAR声明了这一点,但它看起来像是IBM的修复程序。