Is your business performance getting affected by the recurring error ‘the type initializer for threw an exception Sage’ when you are trying to work on the software application? Well, this error can trigger due to corrupted or misplaced program files.

In this article, we shall be discussing elaborately the prime causes of the type initializer for threw an exception Sage’ error and explore different ways to do away with this issue.

Before we set off to talk over some recommended methods to fix the issue of the type initializer for threw an exception Sage 50’ error, let’s try to comprehend the main reasons that prompt this glitch.

Causes of the type initializer for threw an exception Sage’ error

When you encounter this type of error, you will be seeing the following message on the computer screen:

“Error occurred: -2146233036 The type initializer for ‘System.Xml.Serialization.XmlSerializer’ threw an exception (null)”

Here some of the common reasons that result in “the type initializer for threw an exception Sage’ error:

  • There are chances that there could be misplaced or corrupted program files.
  • Another thing that can initiate this error is impaired or corrupted Microsoft .NET Framework.

Note: Before you decide to carry out any sort of changes in your hardware or operating system, make sure you take the advice of a Sage expert at our Sage 50 technical support helpdesk number. Without the right guidance, you could end up losing some critical files.

Troubleshoot the type initializer for threw an exception Sage’ error

Here are some recommended solutions that you can try to fix this issue:

Solution 1: Do away with the program

To manually delete the program, you need to follow the given steps:

  1. Firstly, take a backup of your company data
  2. Locate and memorize the program and data path of the Sage software
  3. Go to Control Panel, and click on Programs & Features
    1. You need to uninstall given below versions of software:
  • Sage 50 Accounting
  • Sage Integration Services
  • Peachtree Accounting
  • Sage 50 Intelligence Reporting
  • Pervasive PSQL Workgroup
  • Sage 50 Payroll Sync Wizard
  • Exit from Control Panel
  1. Look for C:\Program Files\Common Files\ (32-bit OS) or C:\Program Files (x86)\Common Files\ (64-bit OS)
  • In case you find the same, remove the given folders:
    • Peach
    • Pervasive Software Shared
  1. Look for C:\Program Files (32-bit OS) or C:\Program Files (x86) (64-bit OS) and if you find the same just remove Pervasive Software folder
  2. Give new name to the program and data path directory
  3. Search for C:\Users\[Windows Username]\AppData\Local. If it is there, then remove Aatrix Software, Sage and Sage Software
  4. Search for C:\Users\[Windows Username]\AppData\Roaming. If it is there, then removeAatrix Software, Sage and Sage Software
  5. Search forC:\Users\[Windows Username]\AppData\Local\Temp and remove the files
  6. Search for C:\Windows to remove the given folders:
    • PeachInst folder
    • PAW[Version].ini (Peachtree Accounting for OS)
    • PCW[Version].ini (Complete Accounting)
    • PPA[Version].ini (Premium Accounting)
    • PPAC[Version].ini (Premium Accounting for Construction)
    • PPAN[Version].ini (Premium Accounting for Non-Profits)
    • PPAM[Version].ini (Premium Accounting for Manufacturing)
    • PPAA[Version].ini (Peachtree Premium Accounting Accountants Edition)
    • PTX[Version].ini (Quantum Accounting)
    • PTXA[Version].ini (Quantum Accountant)
    • xml
    • log
    • xml
  7. Search for C:\Windows\Temp and delete the files you find there.
  8. Go to Registry Editor: EnterRegedit, and press OK
  • Look for HKEY_EXISTING_USER\Software and delete:
    • Peachtree
    • PEACHW Release [digit]
    • Sage 50 E-mail Writer / Peachtree E-mail Writer
    • Sage Peachtree
  • Look for: HKEY_LOCAL_SYSTEM\SOFTWARE\ and remove :Peachtree
    • Pervasive Software
    • PEYX489ZK
    • Sage
    • Sage Technology
    • Sage Software, Inc.
  • Look for HKEY_LOCAL_SYSTEM\SOFTWARE\Wow6432Node and remove:
    • Peachtree
    • Pervasive Software
    • PEYX489ZK
    • Sage
    • Sage Technology
    • Sage Software, Inc.
  • Exit from Registry Editor
  1. Obliterate Sage 50 desktop shortcuts
  2. Reboot your system

Solution 2: Try to install the program again

To install the program again, follow the given steps:

  1. Download the latest version of the Sage 50 software
  2. Follow the instructions to install the software
  3. Reboot the computer once the installation of the software is complete

Solution 3:  Uninstall the .NET framework, if it is impaired or corrupted

  1. Click on Programs and Features in Control Panel
  2. Select Turn on or off the Windows attributes
  3. Select + icon beside .NET framework 4.6 Advanced Services
  4. Unmark the ASP .NET 4.6.
  5. Exit from Programs and Features window and reboot the PC.

Still not able to resolve the type initializer for threw an exception Sage’ error? Just dial us at our Sage helpdesk number +1844-313-4856 to speak to our Accountinghub Sage technical support team.