Cannot connect to Sage Payroll Tax service or The SPA Tax Service

Description

  • Running tax calculation or Payroll Status Check utility on the Tax Calc Service in Sage 100 2018 with PR update of 2.18.5 or older gives error connecting to the online tax calculation engine.
  • “The SPA Tax Service could not be reached from Sage 100. The exception was: Exception has been thrown by the target of an invocation. One or more errors occurred.” when running payroll status check utility.
  • Sage 100 2018 cannot connect to the Sage Payroll Tax service when running the Tax Calculation.
  • Payroll cannot connect to the Sage Tax Service in version 2018, Payroll 2.18.5 or older

Disclaimer

Backup Warning
Use caution when working with the below product functionality. Always create a backup of your data before proceeding with advanced solutions. If necessary, seek the assistance of a qualified Sage business partner, network administrator, or Sage customer support analyst

Cause

Incorrect setting in the Sage.Payroll.Tax.Client.dll.configconfiguration file

Resolution

Section I: Install Latest Payroll Update

  1. Verify which version of Sage 100 Payroll 2.0 you have installed
    • With Sage 100 open, select File, Run and type in *INFO
    • This will display Sage 100 System Information
    • Under Payroll section at the bottom, review field Payroll Version
  2. Install latest payroll update
    • See Article ID 98674 Download Sage 100 Payroll 2.19.3
    • For more information about Sage 100 Payroll 2.0 Updates, see Article ID
      90154 Updates for Sage 100 Payroll 2.0
  3. Once installed, reopen Sage 100 and try tax calculation or payroll status check utility again
    Note: It is not necessary to reinstall Workstation Setup
  4. If that does not resolve the issue, move on to Section II

Section II: Change setting in configuration file

  1. Close Sage 100 if open
  2. Browse to the MAS90 directory\Home\Microsoft.net\Sage.Payroll.Tax.Client as shown in screenshot below.
    • Note: If you are unsure of the location of your MAS90 directory
    • With Sage 100 open, select File, Run and type in *INFO
    • This will display Sage 100 System Information
    • Review field Installed Directory Path for your MAS90 folder’s directory

  3. Save a copy of Sage.Payroll.Tax.Client.dll.config your desktop as a backup (the file selected in screenshot above)
  4. Open the original copy of Sage.Payroll.Tax.Client.dll.config in Notepad
  5. Edit line for “” from “true” to “false” (see Screenshot below)
  6. Save changes in Notepad
  7. Reopen Sage 100 and try tax calculation or payroll status check utility again