Skip to content
logo Knowledgebase

Company Opening: 'The type initializer for ‘System.Data.Entity.Internal.AppConfig’ threw an exception’ error opening Evolution Company

Created on  | Last modified on 

Summary

Learn how to fix the 'The type initializer for ‘System.Data.Entity.Internal.AppConfig’ threw an exception’ error opening a Sage 200 Evolution Company.

Description

This article discusses how to resolve the following error when opening an Evolution company: 

Image

 

 

Resolution

Consider the following advice to resolve the above error:  

 

A. Recent Windows Updates

Sage 200 Evolution, as with other Windows based applications, can be negatively affected by certain Windows updates that are excused on the local PC where Evolution is installed on.

This is due to the Windows update regarding certain Evolution system files as a threat. In this case, these files may be either deleted or deregistered, especially for *.DLL files.

Therefore, consider the following 2 phases to apply when the above error is observed after a recent Windows update on the local PC:

 

Phase 1: Uninstallation  

Open this link for a detailed article that discusses how to uninstall Evolution.

Do this on the affected workstations (with Evolution locally installed) or the main RDP/hosted Evolution server (as relevant).

 

Phase 2: Installation  

Open this link for a detailed article that discusses how to install Evolution.

Do this on the affected workstations (with Evolution locally installed) or the main RDP/hosted Evolution server (as relevant). 

After applying the advice in this article, consider the rest of the article below if still needed.

 

B. Windows vs Sage 200 Evolution version incompatibility

Older versions/builds of Evolution may be incompatible with your current version/build of MS Windows.

For instance, you are running Evolution version 7.10 on Windows version 11.

Therefore, upgrade your Evolution package and all Evolution companies, by uninstalling and reinstalling the latest Evolution version.

Refer to the Uninstallation and Installation phases as discussed above. 

After applying the advice in this article, consider the rest of the article below if still needed.

 

C. Other Reasons

Open this link for another article including other reasons and solutions: 

After applying the advice in this article, consider the rest of the article below if still needed.

 

D. Formatting the PC 

As a last resort, the only other option is to format the local PC where the above error is observed. 

This proved to be the only solution on an actual support ticket raised with Evolutions Support.