Greenbarfor Sage 100
Guides / Integration options & the API

Sage 100 ODBC driver: setup, 32 vs 64-bit, limits

How the Sage 100 ODBC driver works, how to set up the SOTAMAS90 DSN, why 32-bit and 64-bit matter, and the limits to know before you build reports on it.

For: IT & report buildersUpdated 2026-12-042 min read

The Sage 100 ODBC driver is the simplest way to read Sage data with tools you already have: Excel, Access, Power BI, Crystal Reports, or any language with an ODBC library. It is also the source of a large share of Sage 100 support threads. This guide explains how it works and where it breaks.

What the driver is

On Sage 100 Standard and Advanced, data is stored in ProvideX files, not a SQL database. The ODBC driver is a ProvideX ODBC driver that translates SQL into file reads. Sage installs a system DSN named SOTAMAS90 that points at the MAS90 folder.

On Sage 100 Premium, data lives in Microsoft SQL Server. Community answers consistently recommend connecting Premium reports to SQL Server directly with the native SQL Server driver, not through SOTAMAS90.

Setting up a DSN

  1. Open the ODBC Data Source Administrator that matches your client's bitness (see below).
  2. Find SOTAMAS90 under System DSN, or add a new DSN using the Sage/ProvideX driver.
  3. Point the database directory at your MAS90 folder.
  4. Optionally store a user, password and company so reports do not prompt every time (a "silent" DSN). Use a read-only Sage user for this.

A connection string without a saved DSN password looks like this:

text
DSN=SOTAMAS90;UID=reports;PWD=secret;Company=ABC

32-bit vs 64-bit

The bitness of the driver must match the bitness of the program that uses it. 64-bit Excel cannot use a 32-bit driver and vice versa. Errors such as "data source name not found" or "architecture mismatch" usually mean exactly this. Windows has two ODBC administrators: C:\Windows\SysWOW64\odbcad32.exe for 32-bit and C:\Windows\System32\odbcad32.exe for 64-bit. Newer Sage 100 versions include a 64-bit driver; on older installs only the 32-bit one exists, so a 32-bit client is the only option.

Tables you will query most

TableContents
AR_CustomerCustomers: ARDivisionNo, CustomerNo, CustomerName, CurrentBalance, CreditLimit
AR_OpenInvoiceOpen AR invoices and balances
CI_ItemItem master
IM_ItemWarehouseQuantity on hand by warehouse
SO_SalesOrderHeader / SO_SalesOrderDetailOpen sales orders
AR_InvoiceHistoryHeaderPosted invoice history
sql
SELECT ARDivisionNo, CustomerNo, CustomerName, CurrentBalance, CreditLimit
FROM AR_Customer
WHERE CurrentBalance > CreditLimit

Limits to know

An alternative for reports

If the goal is a spreadsheet or BI model, a CSV or JSON endpoint avoids drivers, DSNs and bitness problems entirely. Paste a URL into Excel or Power BI as a web source. See Power BI without the ODBC driver and Excel Power Query.

Try it against the sandboxOpen the playground →
curl "https://api.greenbar.octor.top/v1/companies/ABC/ar-aging?format=csv" \
  -H "Authorization: Bearer sk_test_demo"

A REST API for Sage 100, self-serve

One HTTPS endpoint and a typed SDK instead of BOI scripts and ODBC DSNs on every customer's server. Read access is free during the beta.

Join the waitlist