2026-11-27

Sage 100: UNSPECIFIED ERROR — Custom Crystal Report

Getting UNSPECIFIED ERROR on a custom Crystal report in Sage 100? A numeric parameter is the usual cause — convert it to a string to fix the report.

The error text is exactly this, and nothing more:

UNSPECIFIED ERROR

It appears when you run a custom Crystal report from inside Sage 100 — typically a report added to a module's custom reports menu. The report itself is usually healthy: open it in Crystal Reports Designer and it runs. Run it through Sage and it dies before or at the parameter prompt. It can hit every custom report on one workstation while the workstation next to it runs the same reports perfectly, and it frequently shows up after an upgrade or on freshly built machines. Sage's own knowledge base entry for this error is KB 89925.

The fix

The cause, in the overwhelming majority of cases, is a parameter defined as a number. The Crystal runtime Sage 100 uses mishandles numeric parameters on some machines. Convert the parameter to text and convert it back inside your formulas:

  1. Open the report in Crystal Reports Designer.
  2. In the Field Explorer, find every parameter whose type is Number — month and period selectors are the usual offenders.
  3. Edit each one and change its type to String. Keep the same list of values (for example "1" through "12" for months).
  4. Open the Record Selection formula. Everywhere the selection compares a numeric field or value against that parameter, wrap the parameter in a conversion, for example: {PR_CheckHistory.FiscalPeriod} = ToNumber({?SelectMonth})
  5. Search the whole report for other uses of the parameter — formulas, running totals, conditional formatting, groups — and apply the same ToNumber() wrapping wherever a number is required.
  6. Save the report and test it from the Sage 100 menu, not just from Designer. It should now prompt and run.
  7. Repeat for each failing report. There is no global switch; the change is per report, per parameter.

Done completely, this does not change what the report selects or how it looks — a half-done conversion is what breaks reports, which leads to the next section.

Why reports "break" after the conversion

If you change the parameter type but miss a formula that still treats it as a number, Crystal either errors or quietly selects the wrong data. Text and numbers also sort differently: a string month sorts "1", "10", "11", "2" unless your values are zero-padded or the formula converts before sorting. The safe routine is: convert the parameter, then use Crystal's formula search to find every reference to it, then decide reference by reference whether it needs ToNumber(). Test with a value like period 10 or 12, not period 1 — padding and sorting problems hide at single digits.

Cause 2: An older Sage version still installed

On at least some systems the real trigger was coexistence: an old release (Sage 100 2014 in the documented case) still installed on the server and the failing workstation alongside the current version, leaving the machines with a tangle of Crystal and ODBC components. The cure there was to uninstall the old Sage version, then uninstall and reinstall the current Sage version and its Crystal runtime. Before you rebuild reports, inventory what is actually installed on a failing machine versus a working one.

Cause 3: ODBC driver mismatch between workstations

When one workstation fails and another succeeds on identical reports, compare the ODBC side: driver name and architecture. A DSN architecture mismatch between driver and application produces exactly this kind of workstation-specific failure, and some machines end up pointing at a different (for example CS) driver variant. Standardise the failing machine on the same driver as a known-good machine and retest.

Affected versions

Reported on Sage 100 2017 (PU6), Sage 100 2018 including Premium, with reports authored in Crystal Reports 2016 — including reports written new for those versions, not only reports converted from older releases. The same numeric-parameter fault and the same fix have been confirmed on Sage 300 and Sage HRMS, because the weak point is the shared Crystal runtime behaviour, not one product. Windows 7 workstations failed in the original case while Windows 10 machines ran the same reports, but new Windows 10 machines have hit it too — the operating system is a clue, not the cause.

If the fix doesn't work

  • Confirm the report runs in Crystal Designer on the failing workstation itself. If it fails there too, you have a local Crystal/ODBC installation problem, not a Sage menu problem.
  • Check for any numeric parameter you missed, including parameters buried in subreports. One surviving numeric parameter is enough to trigger the error.
  • Compare installed programs on a failing versus working workstation: old Sage versions, other Sage products sharing the machine, and Crystal runtimes.
  • Reinstall the Sage 100 workstation setup on the failing machine after removing leftovers, then retest before editing more reports.

Prevention

  • Build every new custom report with string parameters from the start, and convert inside formulas. It costs nothing at design time and immunises the report against this error on every workstation.
  • When you upgrade Sage 100, fully uninstall the old version instead of layering the new one beside it, especially on servers and terminal servers.
  • Keep a short inventory of which ODBC driver each workstation uses for Sage reporting, so a new machine build matches the working standard.

Related help

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.

Ready to Optimize Your Sage ERP?

Speak with a CPA-led Sage consultant. Free initial consultation — English or Chinese.

Get a Free Consultation