Support Articles — Software crash

“Specified Cast Not Valid” Error in MadgeTech 4

Posted on

A recent Windows 10 update triggered a bug in the MadgeTech 4 software that may cause the program to crash when starting loggers.

This issue has been fixed in recent software versions. For users of the free version of MadgeTech 4, updating to the latest version will resolve this issue. The most recent version of MadgeTech 4 can be downloaded here: https://www.madgetech.com/software/madgetech-4-software/

There is an alternative fix that will allow MadgeTech 4 Secure users to continue using their existing software version without experiencing this crash. Follow these steps to prevent the crash:

Continue reading “Specified Cast Not Valid” Error in MadgeTech 4

No FontFamily Error in Windows 7

Posted on

A Windows update may cause an error in Windows 7 that looks something like this:No FontFamily element found in FontFamilyCollection that matches current OS or greater:Windows7SP1

The workaround is to uninstall KB4055532 until Microsoft releases a fix for it.   The FontFamily error also appears as KB4055002, so uninstall this also.

To uninstall an update, go to Control Program – Programs – Programs and Features – Installed Updates.  Find the affected updates.  Right-click – Uninstall. 

MadgeTech 4 Will Not Open – DbProviderFactories Error

Posted on

This article addresses 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.”

Please follow the instructions to fix the 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

and/or here:

C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\Machine.Config

Back up the file to 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 [email protected]