Sage 100 Crystal Reports Asking for ODBC (RDO) Login
Crystal Reports asking for an ODBC (RDO) login on a Sage 100 report? The report is not pointed at the SOTAMAS90 DSN. Reset it with Set Datasource Location and check the C/S ODBC setting.
You open a Crystal report against your Sage 100 data and Crystal stops to ask for an ODBC (RDO) login — a database logon dialog — instead of just connecting. Reports printed from inside Sage 100 run without asking, so the prompt means the report's saved connection is not the one Sage 100 hands it at runtime. On the affected machine you may also find the connection list cluttered with look-alike entries — several identical "MAS 90 4.0 ODBC Driver" connections, plus SOTAMAS90, SOTAMAS90_1, SOTAMAS90_2 and silent-connect entries — which makes picking the right one harder.
The fix
- Prove the workstation first. Run a standard report from inside Sage 100 on that workstation. If standard reports run, the workstation's SOTAMAS90 DSN exists and works, and the problem is the report's saved connection. If they do not, run Workstation Setup to (re)create the DSN before touching the report. (In the original case Workstation Setup alone did not cure the prompt — it is the foundation, not the whole fix.)
- Check the C/S ODBC setting. In User Maintenance, look at the affected user's Use C/S ODBC driver option. If the site is not actually running the client/server ODBC driver, turn the option off for the user, log out, and log back in. If the site does use C/S ODBC, re-run its setup instead.
- Repoint the report at SOTAMAS90. Open the report in the Crystal Reports designer. Choose Database → Set Datasource Location. In the upper pane (Current Data Source), select the report's existing connection. In the lower pane (Replace with), expand Create New Connection → ODBC (RDO) and select SOTAMAS90. Click Update, then Close.
- Verify and save. Choose Database → Verify Database, map any fields it flags, and save the report. Run it again — it should now connect the way reports run from inside Sage 100 do.
- If SOTAMAS90 itself points at the wrong place, fix the DSN before blaming the report: open the 32-bit ODBC Data Source Administrator (ODBCAD32.EXE — from C:\Windows\SysWOW64 on a 64-bit computer, C:\Windows\System32 on a 32-bit one), select SOTAMAS90, click Configure, and confirm the location matches your current MAS90 folder. After an upgrade or a server move, Crystal keeps pointing at the old SOTAMAS90 location until you reset it — Sage's KB procedure for this is exactly steps 3–4 above, done after confirming the DSN location here.
This is the route Sage's own ODBC connection documentation — posted into the original discussion by a Sage employee as the verified answer — resolves the prompt with; the poster confirmed it worked.
Causes / why this happens
- The report was saved against the wrong connection. Since Sage 100 2013 (5.0), reports launched from within Sage 100 receive a connection string passed at runtime; the SOTAMAS90 DSN is maintained for backward compatibility (MAS_Reports on Premium/SQL). Sage's own ODBC documentation names the cause directly: the connection information stored in the .RPT is invalid, which can happen when a report is copied from another Sage 100 install. A report created against any other connection — a raw driver connection string, a one-off DSN — has no credentials to borrow, so Crystal asks for an ODBC login. Sage's support answer on the same symptom for custom-menu reports is identical: map the report to SOTAMAS90/MAS_Reports or expect the logon dialog.
- The C/S ODBC option is on but the driver is not in use (or the reverse), so the connection Crystal negotiates is not the one the workstation actually serves.
- The DSN went stale. Upgrades and server moves leave SOTAMAS90 pointing at the previous MAS90 directory; Crystal faithfully connects to the old location and demands credentials for it.
- Connection clutter. Newer Crystal versions remember connections between sessions. Every "create a new connection" leaves another entry behind, which is how a machine accumulates four identical driver connections and SOTAMAS90_1 through _3 — and how a report ends up saved against a raw "MAS 90 4.0 ODBC Driver" string that always prompts.
Per-context variants
Running the report outside Sage 100, with no prompt at all: that is what a silent connect DSN is for — a separate DSN with the company code, user code and password stored in it (the "Sage 100 SC" entries in the original case). Create a new DSN for this; do not convert SOTAMAS90 into it. SOTAMAS90 is reserved for Sage 100's own use, and storing credentials in it makes Sage 100 itself prompt the next time it uses the DSN. Enter the company and user codes in upper case, per Sage's silent-connect procedure.
Sage 100 Premium (SQL): reports use the MAS_Reports DSN / an OLE DB (ADO) connection to the SQL database, not SOTAMAS90. The principle is the same — the report must be saved against the DSN Sage passes — but do not apply the ProvideX DSN steps to a Premium report.
The prompt appears once more during the fix: expected. In the original case, resetting the report to a silent-connect entry prompted one final time for the ODBC RDO password before the report settled and ran clean.
What doesn't work
- Workstation Setup by itself, when the DSN is fine but the report's saved connection is wrong — tried in the original case, prompt unchanged.
- Choosing one of the duplicated raw driver connections in Set Datasource Location. Those "MAS 90 4.0 ODBC Driver" connection-string entries are precisely the connections that demand an RDO login; the working choice is SOTAMAS90 (or a deliberate silent-connect DSN).
- Creating yet another new connection every time you build a report — that is how the clutter that caused this starts.
Affected versions
Reported against Sage 100 v2014 (MAS 200) with Crystal Reports, and by another user on systems v2013 and later — the era after Sage stopped automatically steering Crystal to SOTAMAS90. The Set Datasource Location procedure and the SOTAMAS90 DSN apply to Sage 100 Standard/Advanced generally; Premium uses MAS_Reports as described above.
Prevention / best practice
- Build every custom report against SOTAMAS90 (Standard/Advanced) or MAS_Reports (Premium) from the start, and re-check the data source after any upgrade or server move before users find the prompt for you.
- Clean up the designer's saved connections periodically: restart Crystal, use File → Log On or Off Server, and delete stale connection entries so the next person cannot pick a look-alike.
- Keep silent-connect DSNs clearly named and few — one per company that genuinely needs unattended external reporting.
Related help
- Unable to Process the Lockfile (Crystal Reports)
- Logon Failed to Open the Connection — Database Vendor Code 17
- Unspecified Error on a Custom Crystal Report
- Install the ODBC Driver Without Workstation Setup
- ProvideX ODBC Driver Internal Error
- Crystal Reports 2016 with Sage 100
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.