Sage 100: Using SQL Server Management Studio to Work with Sage 100
In SSMS, a linked server to Sage 100 ProvideX data shows tables but not fields, and the graphical view designer will not work. That is normal — here is the working method: OPENQUERY and SQL Server views.
You have set up a linked server from SQL Server to your Sage 100 data. The connection works — you can see the Sage tables, and hand-written SQL queries return data. But SSMS will not expand a table to show its fields, and the graphical view designer refuses to work with the Sage tables, so every query and view has to be written as raw SQL. Is something misconfigured?
No. This is the normal behaviour of the Sage 100 ProvideX ODBC driver behind a linked server, and it has been reported consistently across versions (Sage 100 2013 with SSMS 2014, Sage 100 4.5 with SSMS 2014/2016, and others). SSMS's browsing and design tools depend on metadata calls that the ProvideX driver, reached through the OLE DB Provider for ODBC (MSDASQL), does not fully answer. Running a query does not depend on those calls — which is why typed SQL works while the graphical tools do not. There is no permission or setting that turns the designer on for ProvideX tables. The productive route is to work the way the driver supports: correct linked-server setup, OPENQUERY, and views that live in SQL Server.
The fix
- Build the linked server the documented way (per Sage's KB procedure for linked servers):
- Install the Sage 100 ODBC driver on the SQL Server machine by running workstation setup.
- Create a System DSN using the MAS 90 4.0 ODBC driver. Do not use the SOTAMAS90 DSN — it is reserved for system use.
- On the DSN's Basic tab, point the database directory at the MAS90 folder; on the Logon tab, enter the three-character company code and the default user ID/password.
- On the Debug tab, run Test Connection and confirm tables return, then open the Connection String display and copy the full connection string.
- Match the architecture: a 64-bit SQL Server instance needs the 64-bit driver and DSN (the 64-bit Sage 100 ODBC driver exists from Sage 100 2013 onward). A mismatched DSN will not load.
- Create the linked server in SSMS under Server Objects > Linked Servers: provider Microsoft OLE DB Provider for ODBC Drivers, product name and data source set to your System DSN name, and — the step people miss — paste the copied connection string into the Provider String field. SQL Server does not reliably pull the connection string from the DSN alone; linked servers built without it are a recurring source of "table is not accessible" failures.
- Query with OPENQUERY (or four-part names) instead of the designer:
SELECT * FROM OPENQUERY([YourLinkedServer], 'SELECT * FROM AR_InvoiceHistoryHeader')SELECT * FROM [YourLinkedServer]...[CI_Item]
- Build your reusable views inside a SQL Server database. Create ordinary SQL Server views whose definitions wrap OPENQUERY calls against the linked server. The views live in SQL Server, where Object Explorer, column lists, and the designer all work — and Crystal Reports (or any other tool) can then point at the SQL Server views instead of at the ProvideX tables directly. This is the practical answer to the original goal: a stable, browsable subset of your most-used Sage tables (AR_InvoiceHistoryHeader, AR_InvoiceHistoryDetail, CI_Item, and the rest) for reporting.
- Get field names from Sage, not SSMS. For table and field reference, use the Sage 100 help system's table/field listings while you write your SQL.
Options and approaches
OPENQUERY versus four-part names
Four-part naming ([Server]...[Table]) is fine for quick ad-hoc checks. OPENQUERY is the better default for anything you keep: the query is passed through to the ProvideX driver in its own dialect, which behaves more predictably for filtering and anything beyond a simple SELECT, and it is the form Sage's own KB validation uses.
When this does not apply: Sage 100 Premium
Everything on this page concerns Sage 100 Standard/Advanced, whose data lives in ProvideX files reached through the ODBC driver. Sage 100 Premium stores its data in real SQL Server databases — SSMS connects to those directly, and browsing, column expansion, and the view designer all work normally. If you are on Premium and SSMS will not browse your tables, you have a different problem (permissions or connection), not this one.
What doesn't work
- Waiting on the graphical designer. No driver setting exposes ProvideX table structure to SSMS's design tools through a linked server; time spent hunting for one is wasted.
- Treating it as a permissions problem. Sites have chased Active Directory and Sage security theories for this symptom without result — the same connection browses tables fine through Excel's ODBC tools, which isolates the limitation to the SSMS metadata path.
- Skipping the Provider String. A linked server that names the DSN but carries no connection string in the Provider String is the most common self-inflicted failure in this setup.
Affected versions
Documented on Sage 100 Advanced ERP 2013 (upgrading to 2016) with SSMS 2014, and independently on Sage 100 4.5 with SSMS 2014/2016. It is a property of the ProvideX ODBC linked-server path in general, not of a single release. Note Sage's own caution: Sage Customer Support does not assist with linked server configuration — plan on DBA-level help if your team does not have it.
Prevention / best practice
- Standardise on one System DSN per company, named consistently, and keep its connection string documented — linked servers cannot be fully edited after creation in some SQL Server versions, so a rebuild is faster when the string is on file.
- Put reporting views in a dedicated SQL Server database, never in a Sage database, and treat the Sage side as read-only through the linked server.
- After any Sage 100 upgrade or workstation-setup rerun, re-test the DSN connection and one OPENQUERY before reporting season discovers a break.
Related help
- Create a SQL Specific Pass-Through Query
- Listing of Sage 100 Data Tables and Fields
- Install the ODBC Driver Without Workstation Setup
- ProvideX ODBC Driver Internal Error
- GL Transaction Data Extract
Still stuck? Send us a screenshot of the error, we will diagnose it for free.
Digit Masters has supported Sage 100 and Sage 300 since 1997. Send the screenshot through our contact page or to contact@digitmasters.com, or call (800) 965-4262.