Technote 17/04 - Dbproviderfactories section

Applicable Products: CardExchange® Producer & CardExchange® Visitor

Dbproviderfactories section


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


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:
  • 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.