Error while executing DB Query-ERROR [IM003] 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).
Below fixed the issue:
Connection String Format:
Provider=IBMOLEDB.DB2COPY1;Data Source=DB2B;Password={0};User ID={1}