Made in the USA

Skip to Main Content »

Knowledge Base

This article is intended to address an issue where the software will not open, or crashes when opening. An error may or may not be presented showing that The application has encountered a problem and needs to close.  The specific error message is "The 'DbProviderFactories' section can only appear once per config file."

The following instructions should assist with amending this issue. 

This crash or failure to launch, is caused by a typographical error in one of Microsoft's .NET Framework configuration files.  This file is located here: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\Machine.Config

 The file should be backed up a second location before any changes or edits are made.  Next, open the file in Notepad.

The following text is the typographical error that must be removed from the file. It must look exactly like this with the slash near the end:

<DbProviderFactories />.

The text below shows an example of what this line will likely look like in the file.  Remove only the line that is bold, that shows the "/" character after DbProviderFactories.

 

 

Finally, save the file, overwriting Machine.config, and attempt to open MadgeTech 4. It may be necessary to save the file to a second location first, then close it, then copy it from the second location to the original folder.  When saving, make sure to change the file type to “all files”, and the name to “machine.config” rather than just machine.

 

If the problem persists, please contact us at support@madgetech.com.

 

Rating: