I am using ADO to connect to DB2 via an ODBC DSN from an application program written in VC++ 6.0/MFC. I call ADODB::Connection::OpenSchema method to get the list of tables. After that I iterate through the returned TABLES Rowset to retrieve the list of table names and the list of fields in each table. At this point I get the following _com_error exception:
Error: Catastrophic Failure
Source: Microsoft OLE DB Service Components
Description: Catastrophic Failure
Microsoft has confirmed this error in ODBC driver for SQL Server in the following MSDN article:
0x8000FFFF "Catastrophic failure" Message with SQL Server ODBC Driver
But for DB2 I have no such authentic information. Can any body help asap.
Error: Catastrophic Failure
Source: Microsoft OLE DB Service Components
Description: Catastrophic Failure
Microsoft has confirmed this error in ODBC driver for SQL Server in the following MSDN article:
0x8000FFFF "Catastrophic failure" Message with SQL Server ODBC Driver
But for DB2 I have no such authentic information. Can any body help asap.