Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Error: ODBC read failed

While loading the access database(ODBC connection) I got the following error:

Error: QVX_UNEXPECTED_END_OF_DATA: SQL##f - SqlState: S1000, ErrorCode: 4294966090, ErrorMsg: [Microsoft][ODBC Microsoft Access Driver] Cannot open database '|'.  It may not be a database that your application recognizes, or the file may be corrupt.

I extracted a fresh copy of the database and tried again, but even then the same error pops up.

How to solve this?

4 Replies
Not applicable
Author

phaneendra_kunc
Partner - Specialist III
Partner - Specialist III

Have you tried OLEDB connection instead of ODBC?

Not applicable
Author

No have not tried... But when I commented a field with memo datatype it seemed to work fine. But I need that field.. What to do?

Not applicable
Author

The memo field should work fine with an ODBC connection.  But it could always be an issue with your particular ODBC driver, and of course I've not tested across versions, etc.

If the memo field is the only column that consistently causes the load to fail, perhaps you can string converting the type to string.  You could do this by calling CStr() in your SELECT (again, assuming you are using ODBC against MS-Access), so something like this:

SQL SELECT

     CStr(MyMemoField) As MyField

FROM Table1;

Or you could do this in your MS-Access database as a query, then just SELECT the query instead of the table.