Excel Error Codes

How to Fix Excel NetSuite ODBC Error: Base Table Employee Not Found

Phi Hung VoPhi Hung Vo Oct 22, 2026 868 views

Question details

User is experiencing an ODBC error when connecting Microsoft Excel to NetSuite, stating that the Employee base table cannot be found (Error 42S02).

How to Fix Excel NetSuite ODBC Error: Base Table Employee Not Found
Product
Microsoft Excel and NetSuite ODBC Driver
Device & OS
not provided
Scenario
Attempting to query or pull data from the Employee table in NetSuite via an ODBC connection in Excel.
Observed behavior
Excel returns error code 42S02, indicating the Employee base table is missing or cannot be found during the connection query.
Before you start

Ensure you have administrative or appropriate role access to your NetSuite account and that your ODBC driver installation was completed successfully.

Solution 1Recommended

Match ODBC Driver Architecture with Excel

Ensure that your NetSuite ODBC driver architecture (32-bit or 64-bit) correctly matches your installed version of Microsoft Excel to prevent connection and query failures.

A common cause of Error 42S02 is a mismatch between the bit-version of Excel and the installed NetSuite driver. Even on a 64-bit Windows OS, many users run the 32-bit version of Office.

1
Check Excel Version

Open Excel, click on 'File', then select 'Account' and click 'About Excel'. Note whether the first line states 32-bit or 64-bit.

2
Verify Installed Driver

Open your computer's ODBC Data Source Administrator tool. Ensure you open the version (32-bit or 64-bit) that matches your Excel version.

3
Reinstall Driver if Necessary

If you are using 64-bit Excel but only have the 32-bit NetSuite driver installed, download the 64-bit NetSuite ODBC driver from your NetSuite account and install it.

Match ODBC Driver Architecture with Excel
Restart Required: Restart Excel entirely after installing a new driver before testing the ODBC connection again.
Free Microsoft Office alternative

Try WPS Spreadsheets for Seamless Data Analysis

While troubleshooting complex NetSuite ODBC errors in Microsoft Excel, consider using WPS Office as a free, lightweight alternative for handling exported database reports. WPS Spreadsheets offers robust data analysis tools, excellent compatibility with Excel formats, and runs smoothly on multiple operating systems.

Fully compatible with Microsoft Excel (.xlsx, .csv, .xls) formatsLightweight design for faster data processing and smooth performanceFamiliar user interface with zero learning curve for Excel usersFree alternative for managing and analyzing exported database reports
microsoft office alternative - wps office

Frequently Asked Questions

Why am I getting Error 42S02 when connecting to NetSuite via Excel?

Error 42S02 indicates that the base table (in this case, 'Employee') cannot be found. This usually happens due to mismatched ODBC driver versions, insufficient NetSuite role permissions, or incorrect SQL query syntax referring to the wrong schema.

How do I check my Excel version to match the NetSuite ODBC driver?

Open Excel, go to File > Account, and click 'About Excel'. The top of the window will display whether you are running the 32-bit or 64-bit version. Ensure your downloaded NetSuite ODBC driver architecture exactly matches this version.

Does the NetSuite ODBC connection require special permissions?

Yes, the NetSuite role used to establish the connection must have the 'SuiteAnalytics Connect' permission enabled in NetSuite, as well as specific view access to the records (like Employee) being queried.

What if the error persists after checking drivers and permissions?

If the issue continues, it is recommended to test the query in the NetSuite ODBC administrator tools to ensure syntax correctness. If it still fails, post the complete connection and query details in Microsoft Q&A under the Microsoft 365 tags or contact NetSuite ODBC support.