Summary
User-maintained tax tables are missing in Sage 50 Accounting.
Description
"A Managed exception was caught. The error is 'Exception has been thrown by the target of an invocation".
Cause
- Damaged taxtable.dat in the company
- Tax update didn’t install properly
Resolution
CAUTION: 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.
Restore backup to new company
- Make a backup of your company. See How do I create a backup?.
- Select Maintain, and then click Company Information.
- Make note of the location in the Directory.
- Click OK.
- Close Sage 50 on all computers.
- Browse to your company data folder found in step 3.
- Right-click the TAXTABLE.DAT file.
- Select Rename.
- Rename TAXTABLE.DAT to TAXTABLE.OLD.
- Open Sage 50.
- Restore a backup to a new company. See How to restore a backup.
Note: Select New Company in step 4 of the restore wizard. - Once the company restores and you can open it select Maintain, Company Information.
- Change the company name to "Old Do Not Use".
- Make note of the location in the Directory.
- Close Sage 50.
- Browse to the company directory of the new company located in step 14 of this article, Copy TAXTABLE.DAT.
- Browse to the original company directory (step 3 of this article) and paste TAXTABLE.DAT into the original company folder.
- Go back to the new company folder found in step 14 of this article and rename it to 'old do not use'.
- Open Sage 50 and open your original Company.
- Verify the user-maintained tables are there and you can run payroll.
Alternative method: Change a backup to a zip file
- Make a backup of your company. See How to make a backup.
- Select Maintain, and then click Company Information.
- Make note of the location in the Directory.
- Click OK.
- Close Sage 50 on all computers.
- Browse to your company data folder.
- Right-click the TAXTABLE.DAT file.
- Select Rename.
- Rename TAXTABLE.DAT to TAXTABLE.OLD.
- Find a backup file that was created before the occurrence of this issue. Right-click the backup file and then select Copy.
- Go to your Desktop, right-click a blank area, and then click Paste.
- Right-click the backup file on the Desktop and select Rename.
- Change the extension from PTB to ZIP.
- Open the file and extract it as you would a regular ZIP file.
- Right-click the TAXTABLE.DAT file in the extracted directory and then click Copy.
- Browse to your company data folder.
- Right-click and Paste TAXTABLE.DAT file.
- Verify you’re able to access User-Maintained Payroll Formulas and generate a paycheck without errors.
Need more help?