Skip to main content
TOPICS

CATEGORY

PUBLISHED
26 April 2022

MODIFIED
28 September 2024

DBProvider Factories Section

When running CardExchange® Gateway (CardExchange® Producer or CardExchange® Visitor), you may recieve the following error that prevents the application from running.

Screenshot 2022 04 26 at 16.37.57

This appears to be a bug in the .NET framework which can be resolved by following the steps below.

  • First, go to C:\Windows\Microsoft.NET\Framework. There you will see folders for the different versions you have installed.

  • Go to the folder v4.0.30319, open the Config folder and then open the Machine.Config file in a text editor.

  • In that file, search for the string “<DbProviderFactories/>”, if you found that you can see the following code:\

Screenshot 2022 04 26 at 16.38.07

  • The <DbProviderFactories/> doesn’t belong there so delete this line:

  • Save it and look in the other folders to see if the line is there too. It’s possible that this line also

    appears in v2.0.50727.