How to Fix Excel NetSuite ODBC Error: Base Table Employee Not Found
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).

- 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.
Ensure you have administrative or appropriate role access to your NetSuite account and that your ODBC driver installation was completed successfully.
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.
Open Excel, click on 'File', then select 'Account' and click 'About Excel'. Note whether the first line states 32-bit or 64-bit.
Open your computer's ODBC Data Source Administrator tool. Ensure you open the version (32-bit or 64-bit) that matches your Excel version.
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.

Verify NetSuite Role Permissions
The error often occurs if the NetSuite role used to authenticate the ODBC connection lacks permissions to view the Employee record.
Validate Query Syntax and Table Availability
Ensure the table name queried in Excel matches the exact schema defined in the NetSuite Connect Data Dictionary.
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.

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.




