Fix: Sage Intelligence “Error 1730” on Remote Desktop (Sage 300)

Sage 300 logo

Short answer: If Sage 300 Intelligence Reporting keeps starting Windows Installer every time someone runs a report on a Remote Desktop server, and then shows “Error 1730. You must be an Administrator to remove this application”, the Intelligence Reporting workstation install is trying to repair itself for each user. On a shared Remote Desktop server that loop never ends. Install Intelligence Reporting on the workstation of the people who actually run the reports, remove it from the Remote Desktop server, and clear any leftover Sage add-in from Excel. Don’t make users local administrators to hide the prompt.

A finance team that runs Sage 300 on a Remote Desktop server called us after a Sage upgrade. Every time they opened a report in Sage Intelligence Reporting, a Windows Installer window appeared, asked for administrator credentials and then failed with Error 1730. Clicking OK 15 or 20 times eventually let the report open. A few days later Excel started complaining on every file it opened that it couldn’t find a Sage file called Sage.BI.ExcelFunctions1.1.xll. The quick fix being suggested was to make staff local administrators on the server, which we weren’t willing to leave in place. Here is what we found and how we fixed it.

Fixed by Ryan Colombo, Head of Operations, and Rohan Colley, Senior Systems Administrator at GCIT. Written up by Elliot Munro, CISO.

Symptoms

When a user opens a report from Sage Intelligence Reporting (Report Manager or the Report Viewer) inside a Remote Desktop session, a Windows Installer window appears:

Please wait while the application is preparing for the first use

Windows Installer Coordinator: Please wait while the application is preparing for the first use, shown over Sage 300

It then asks for administrator credentials. A standard user can’t supply them, so the installer fails with:

Error 1730. You must be an Administrator to remove this application. To remove this application, you can log on as an administrator, or contact your technical support group for assistance.

Sage 300 Intelligence Reporting 2019 Workstation: Error 1730. You must be an Administrator to remove this application

Other signs of the same problem:

  • If an administrator enters their credentials, that one report loads, but the next report starts the installer again.
  • Running Sage 300 as administrator makes no difference.
  • It affects every Intelligence Reporting user on the server, not just one person.
  • After Intelligence Reporting is removed or changed, Excel shows this message every time it opens a file, then opens the file once you click OK:

Sorry, we couldn’t find C:\Program Files (x86)\Common Files\BIExcelFunctions1.1\64bit\Sage.BI.ExcelFunctions1.1.xll. Is it possible it was moved, renamed or deleted?

Excel error: Sorry, we couldn't find Sage.BI.ExcelFunctions1.1.xll. Is it possible it was moved, renamed or deleted?

People also search for this as “Sage Intelligence Reporting keeps installing”, “Windows Installer keeps appearing Sage 300 Remote Desktop”, “Sage 300 Intelligence Reporting Workstation error 1730” or “Sage.BI.ExcelFunctions xll not found”.

Affected Software

  • Application: Sage 300 with Sage Intelligence Reporting (Intelligence Reporting Workstation)
  • Platform: Windows Server Remote Desktop Services (RDS) session hosts, with Microsoft Excel
  • Related Services: Windows Installer, the Sage BI Excel functions add-in

Cause

Sage Intelligence Reporting works through Excel, and its workstation installer puts part of what it needs into the profile of the user who installed it. On a normal PC with one user that is fine. On a Remote Desktop server, every other person who signs in is missing those per-user parts, so Windows Installer decides the product is broken and starts a repair the moment they run a report. A repair needs administrator rights, so it fails with Error 1730, and because nothing was repaired, it starts again on the next report.

In our case the report component never worked properly on the Remote Desktop server. Installing it under one user’s profile broke it for everyone else, and the vendor’s install steps gave the same result every time. Sage community threads describe the same behaviour on Remote Desktop servers going back several versions.

The Excel message is a side effect. Excel remembers the Sage BI functions add-in in each user’s add-in list. When the files it points to are removed, moved or not accessible to that user, Excel warns about the missing .xll file at every start-up until the add-in is removed or fixed.

Resolution

Step 1: Don’t make users administrators

Giving report users local administrator rights on the Remote Desktop server does stop the prompt, because the repair can then finish. It also gives everyone on a shared server the power to install software and change system settings, which is a serious security risk on a server that holds your finance system. Treat it as an emergency workaround for an hour at most, not a fix.

Step 2: Decide where Intelligence Reporting should run

Usually only one or two people run Sage Intelligence reports. The fix that worked for us was to run Intelligence Reporting on those people’s own Windows PCs instead of on the shared Remote Desktop server:

  1. Install the Sage 300 workstation components and Sage Intelligence Reporting on the report user’s PC, using the installer and version that match your Sage 300 server.
  2. Set up the database connection on that PC. Intelligence Reporting talks to the Sage 300 database through ODBC, so the PC needs the same ODBC data source settings as the server. We exported the working ODBC settings and imported them on the workstation, as recommended by the Sage partner.
  3. Have the user sign in to Sage 300 from their PC, outside the Remote Desktop session, and run a report to confirm it opens without the installer appearing.

Step 3: Remove Intelligence Reporting from the Remote Desktop server

  1. Sign in to the Remote Desktop server as an administrator, out of hours if you can, as other users may be working in Sage.
  2. Uninstall Sage 300 Intelligence Reporting Workstation from Settings > Apps (or Programs and Features).
  3. Ask Sage users on the server to sign out fully and sign back in, then confirm the installer no longer appears when they use Sage 300.

Step 4: Clear the leftover Excel add-in for each user

If Excel still says it couldn’t find Sage.BI.ExcelFunctions1.1.xll, remove the stale add-in from that user’s Excel:

  1. Click OK on the message to let Excel open, then go to File > Options > Add-ins.
  2. At the bottom, set Manage to Excel Add-ins and click Go.
  3. Untick the Sage BI Excel functions entry. If Excel offers to delete it from the list because the file can’t be found, choose Yes.
  4. Close and reopen Excel to confirm the message is gone. Repeat for each affected user, because the add-in list is stored per user.

If reports must run on the Remote Desktop server

Some Sage partners can package Intelligence Reporting so it doesn’t repair itself per user, for example by changing how the installer’s per-user component is registered. That is a change to the vendor’s installer, so have your Sage partner make it and test it on one server before rolling it out. A separate session host just for reporting is another option, but for one or two report users it is usually more cost and maintenance than running the reports on their PCs.

Important Notes

  • Keep versions matched. The Intelligence Reporting version on the workstation should match your Sage 300 version. Install it again after every Sage 300 upgrade.
  • Slow reports are a separate question. Reports run from a PC talk to the database over your network or VPN. If they are slow, check whether the user is in the office or remote before changing the install.
  • Office repairs don’t fix it. We reinstalled Office during troubleshooting. It didn’t stop the installer loop, because the loop comes from the Sage installer, not Excel.
  • Document who has it. Keep a note of which PCs have Intelligence Reporting installed, so the next upgrade covers them all.

Sage or another finance system fighting with your Remote Desktop server? Get in touch with our team.

Was this article helpful?
Ready to secure and simplify your IT? Talk to a GCIT expert today.