Windows Integration Errors

Fix IM002 for a 64-Bit CSV ODBC Driver on Windows

Steven ParkerSteven Parker Nov 25, 2026 870 views

Question details

Resolve an IM002 error when connecting to CSV files with a 64-bit ODBC driver and a driver-only connection string.

Fix IM002 for a 64-Bit CSV ODBC Driver on Windows
Product
Windows ODBC Data Source Administrator
Device & OS
Windows
Scenario
An application needs to connect to CSV files using an installed ODBC text driver without relying on a DSN.
Observed behavior
The DSN appears in the 64-bit ODBC administrator, but a driver-only connection attempt returns IM002.
Before you start

Identify whether the connecting application is 32-bit or 64-bit, and locate the folder containing the CSV files. Have the connection string available so you can compare its driver name with the installed driver.

Solution 1Recommended

Match the ODBC driver architecture and correct the connection string

Use this approach when a CSV DSN is visible but a DSN-less connection returns IM002.

A visible DSN does not guarantee that a driver-only connection string names the driver correctly. The application must be able to load a driver with the same bitness, and the DRIVER value must match the installed name.

1
Check application bitness

Check the application's documentation or executable properties to determine whether the process is 32-bit or 64-bit. Match the ODBC driver to the application, not just to Windows.

2
Open the matching administrator

On 64-bit Windows, run C:\Windows\System32\odbcad32.exe for 64-bit drivers or C:\Windows\SysWOW64\odbcad32.exe for 32-bit drivers. Select the Drivers tab.

3
Verify the driver name

Find the CSV or text driver in the Drivers tab and copy its exact name. If no suitable driver is listed, install a CSV-capable ODBC driver that matches the application's bitness, then reopen the administrator.

4
Correct and test the connection

In the application's connection settings, put the exact driver name in braces after DRIVER=. For a compatible Microsoft Access Text Driver, an example is DRIVER={Microsoft Access Text Driver (*.txt, *.csv)};DBQ=C:\Data\CSV; where DBQ points to the CSV folder. Use the example only if that exact driver is listed, and adapt the folder and settings to your driver. Test the connection without a DSN.

Match the ODBC driver architecture and correct the connection string
Driver-specific settings: Connection-string options vary by driver. If IM002 is resolved but the connection still fails, check the installed driver's documentation for its required folder, file, and format settings.
Free Microsoft Office alternative

Open CSV Files Directly with WPS Spreadsheets

WPS Office is a free, lightweight Office alternative with a familiar interface and Microsoft Office format compatibility for an easier move between applications. Open CSV files directly in WPS Spreadsheets when you need to view or edit their contents; WPS does not fix an application's ODBC connection.

Open and edit CSV data without an ODBC connectionCompatible with Microsoft Excel formats including XLSX and XLSFree and lightweight for everyday spreadsheet workFamiliar spreadsheet interface for easier migration
microsoft office alternative - wps office

Frequently Asked Questions

Why do I get IM002 when my DSN appears in the 64-bit administrator?

A driver-only connection does not use the DSN. Check the Drivers tab in the administrator matching your application's bitness, then make sure the DRIVER value matches the listed name exactly.

Which ODBC administrator should I use for a 32-bit application?

On 64-bit Windows, run C:\Windows\SysWOW64\odbcad32.exe to inspect 32-bit drivers and DSNs. A 32-bit application needs a matching 32-bit driver.

Do I need braces around the ODBC driver name?

Use braces in the DRIVER value, such as DRIVER={exact installed driver name}. Copy the name from the Drivers tab rather than assuming it matches a DSN name.

Can I open a CSV file without configuring ODBC?

Yes. To view or edit the file rather than connect from another application, open it directly in WPS Spreadsheets. This does not repair the application's ODBC connection.