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

The error message below may be observed when opening an Evolution company.

 

 

 

 

 

 

This error may or may not be preceded or followed by the following error:

 

 

 

 

 

 

 

 

Cause
Resolution

To resolve the above error message, apply the following advice:


A) Corrupt Windows Profile

The above errors may be due to a corrupt Windows profile which makes the error quite easy to fix by your local IT technician: Simply recreate a new Windows account according to the client’s local IT/network domain policies.


B) Other Reasons

If still needed, consider the following advice to fix the above errors:

B.1) Solution 1: Microsoft .Net Framework

One of the first things to check for in this case is the specific Microsoft .Net Framework version installed on the local PC where the above error is displayed.

It may be that Microsoft .Net Framework version 3.5 and/or 4.8 is not installed. 

The user should therefore uninstall lower versions, (except for ver 3.5) and install version 4.8.

When done, restart the local PC. 

Also, note the following:

Even if Microsoft .Net Framework versions 3.5 and 4.8 are installed, it may be wise to perform a .Net Framework Repair, if the advice in the rest of the article below has been adhered to. 


 B.2) Solution 1: Local Area Connection Status

Apply the following steps:  

1. Close Evolution on the local PC where this error occurs.

2. On the bottom right of the PC monitor, select the link below and then the Open Network and Sharing Center link.

 

3. Select the Local Area Connection link

 

4. Select the Properties button below on the Local Area Connection Status screen

  

 5. Unselect the Internet Protocol Version 6 option below and the OK button to save the settings.

 

6. Open the Evolution company and the problem should now be resolved.

Also note:

The reason that some Evolution workstations may not experience the above error message, even if their own Internet Protocol Version 6 options have been selected, is because of the following:

IPv6 Connectivity could have the following status as seen below on the Local Area Connection Status screen. This was therefore never a factor in the first place.

Steps to duplicate
Related Solutions