Skip to main content

🚨 Prerequisites

You install a program (the local agent) on the same server or workstation where Sage 50 is running. Before you start, check the following:
  • You have administrator rights on the server/machine.
  • The server/machine is permanently accessible with an active internet connection (24/7). Otherwise, data does not synchronize.
  • You have your Sage 50 login credentials (username and password).
  • .NET Framework 4.8 is installed.
  • The correct Sage 50 UK ODBC drivers are installed. They must match both the Sage 50 version and the Windows architecture (32-bit or 64-bit).

🛠 Preparation

  1. Install the Sage 50 UK ODBC drivers
    • Go to the Sage ODBC driver download page and follow the instructions to install the drivers on the machine/server where your Sage 50 is running. To pick the right driver, retrieve your Sage version and bit version:
      • Open Sage 50 UK.
      • Go to Help → About (or sometimes Help → About Sage 50 Accounts).
      This window shows:
      • Version number (for example, 2023 v29.x)
      • Bit version (sometimes listed explicitly; if not, you can confirm it from the installation folder, but the installer information is usually enough).
  2. Set up an ODBC Data Source (DSN)
    • Open the ODBC Data Source Administrator that matches your Sage version (32-bit or 64-bit).
    • Go to the System DSN tab and create a new System DSN.
    • Select the Sage ODBC driver you installed in the previous step.
    • Choose a name for the DSN, such as your accounting folder name. You enter this name in the Cockpit later, in Set up your Sage 50 UK connection.
  3. Specify the Sage data path
    • Enter the path to the Sage company data. You find it in the company information screen inside Sage. To retrieve the path, open Sage 50 UK:
      1. Go to Company → Company Information (sometimes Settings → Company → Company Information).
      2. Look for Data Path or Company Data Directory.
        • This is the folder containing the company’s .ACCDATA (or AG Data) files.
        • Example of a typical path:
      Some Sage versions hide ProgramData by default. If you do not see it, enable Show hidden files and folders in Windows Explorer.
  4. Validate the configuration
    • Save the data source.
    • Confirm it appears in the System DSN list.

⚡️ Connection

Step 1: Choose a name for your connection. Name of connection field, required, with the hint: Give a name of your choice to this connection Step 2: Click Connect to finalize the connection. Connect button

✅ Authentication

Sage 50 is installed on a server. To share its data, you install a program (the local agent) on the same server as Sage 50. After the connection step, the Method of installation window gives you two options:
  • If Sage 50 is installed on your computer, click Download and install the program.
  • If Sage 50 is installed on another server, click Send by e-mail to send the program to the person or company hosting Sage 50, so they can install it.
Method of installation window with a Read documentation link and two buttons: Download and Send by e-mail

Install the local agent and the Cockpit

The zip file you downloaded contains SetupSage50UKService.exe and a settings.json file. Extract both into the same folder on the Sage 50 server. Step 1: Run SetupSage50UKService.exe as an administrator. Step 2: Pick your installation language, then click OK. Step 3: On Select the installation mode, keep Standard installation (recommended) and click Next. Choose Advanced installation only if the server is shared between several clients, or if the Sage data is stored on a separate server. You then enter a Unique identifier (letters only, up to 8 characters), so that each client gets its own service. Select the installation mode page of the Sage50UKService setup, with Standard installation (recommended) selected and Advanced installation as the other option Step 4: On Select Components, keep Full installation. Service to connect to Sage 50 UK and Cockpit to manage services are always selected. Click Next. Keep the current service configuration (skip reinstall) is checked only if the service is already installed. Leave it checked to keep your current settings. Select Components page with Full installation selected, Service to connect to Sage 50 UK and Cockpit to manage services checked and greyed out, and Keep the current service configuration (skip reinstall) checked Step 5: On Ready to Install, check the selected components and click Install. Ready to Install page listing the setup type Full installation and the selected components, with the Install button Step 6: On the last page, keep Launch Cockpit to start the service checked and click Finish. Completing the Sage50UKService Setup Wizard page, with Launch Cockpit to start the service checked and the Finish button The Cockpit opens on the Sage 50 UK connector page. For more information on the Cockpit, see the Cockpit user guide.

Set up your Sage 50 UK connection

Step 1: On the Sage 50 UK page of the Cockpit, click Add Connection. Select the settings.json file that came with SetupSage50UKService.exe, then click Open. If the Cockpit asks for a settings.json file on its own when it opens, select the same file. Sage 50 UK page of the Cockpit with 0 connections, the Add Connection and Save buttons at the top, the Health panel on the right, and the service status Disconnected at the bottom right A connection appears. It has the name you gave the connection in the Connection step above. Step 2: Click the connection name to open it, then fill in the fields:
  • DSN: the name of the ODBC data source you created in Preparation, step 2. Type it exactly as it appears in the System DSN list.
  • Username: your Sage 50 username.
  • Password: your Sage 50 password.
A Sage 50 UK connection open in the Cockpit, with the DSN, Username and Password fields, and the connection also listed in the Health panel Step 3: Click Save at the top of the Cockpit. A window tells you that changes were detected and that the service must restart to apply them. Click Yes. If the status at the bottom right of the Cockpit still shows Disconnected, click Start Service. Service status panel of the Cockpit showing Disconnected, the LocalSystem user with a Change link, and the Start Service button Step 4: Click Check Health at the top right of the Cockpit. The ODBC Connection check confirms that the local agent can open your Sage 50 data with this DSN, username and password. If your Sage data is on a shared drive, do Step 5. Otherwise, your connection is ready. Step 5: Change the user running the service. By default, the service runs as the Windows Local System user, which may not have access to your shared drives. You have two options:
  • Give the Local System user these permissions:
    • Read and write access to C:\ (to read configuration files and write the logs used to monitor the connection).
    • Read and write access to the shared drive containing your Sage data.
  • Run the service as another Windows user, who already has access to the shared drive.
To change the user, click Change next to LocalSystem, at the bottom right of the Cockpit. Service status panel of the Cockpit, with the Change link next to the LocalSystem user A window opens. Select the Windows user that should run the service. Window to select the Windows user that runs the service

❓ Troubleshooting

Check Health shows: The data source ’…’ doesn’t exist. Check the DSN configured for this connection.The DSN field in the Cockpit does not match any System DSN on the server.
  1. Open the ODBC Data Source Administrator that matches your Sage version (32-bit or 64-bit) and go to the System DSN tab.
  2. Copy the DSN name exactly, character by character, into the DSN field of the connection in the Cockpit.
  3. Save, restart the service when asked, and click Check Health again.
A DSN created in the User DSN tab is not visible to the service. Create it in the System DSN tab.
Check Health shows: The ODBC driver architecture version doesn’t match Sage 50 or the connector.The DSN was created with a driver that does not match your Sage 50 installation (32-bit against 64-bit).
  1. Check your Sage 50 version and bit version, as explained in Preparation, step 1.
  2. Install the matching Sage 50 UK ODBC driver.
  3. Recreate the System DSN in the ODBC Data Source Administrator of the same architecture.
Check Health shows: User ID or Password invalid.The Username or Password in the Cockpit does not match a Sage 50 user. Check that you can log in to Sage 50 with them, then enter them again in the Cockpit and save.
Check Health shows: Data path defined in the data source is not correct.The data path set in the DSN does not point to your company data. Open the DSN in the ODBC Data Source Administrator and enter the path shown in Sage 50, as explained in Preparation, step 3.If the data is on a shared drive, also check that the user running the service has access to it (see Step 5 in Set up your Sage 50 UK connection).
The local agent on your Sage 50 server has not been in contact for more than 35 minutes, so requests to Sage 50 fail until it is back. This happens when the server is off or offline, or the local agent service has stopped.
  1. Check that the server where you installed the local agent is on and connected to the internet.
  2. Restart the Sage50UKService service, as explained in Restart the local agent.
  3. In the Cockpit, click Check Health to confirm the connection works.