Difference between revisions of "Order Express - Advanced Troubleshooting"

From eVision
Jump to: navigation, search
m
m (Added fix for dbproviderfactories)
Line 15: Line 15:
 
<li>If the program does '''not''' load successfully, the cause of the issue is within the application.</li>
 
<li>If the program does '''not''' load successfully, the cause of the issue is within the application.</li>
 
<li>Ensure that you communicate the results of this test back to eVision Support for additional troubleshooting steps.</li>
 
<li>Ensure that you communicate the results of this test back to eVision Support for additional troubleshooting steps.</li>
 +
</ol>
 +
 +
== Duplicate DbProviderFactories ==
 +
 +
Due to an issue in certain software, you may receive the following error:
 +
<code>The 'DbProviderFactories' section can only appear once per config file.</code>
 +
 +
This occurs because the [[Machine.config]] file on the computer contains erroneous information and must be fixed by hand.
 +
 +
<ol>
 +
<li>Locate the `machine.config` file.  Refer to the [[Machine.config]] article for instructions on locating it.</li>
 +
<li>Once found, make a backup of the file and put it in a safe location.</li>
 +
<li>Open the original file in a text editor and search for `<DbProviderFactories>`.  This text should appear more than once.</li>
 +
<li>If the text matches that of the text below, delete the text that matches the example below.
 +
<syntaxhighlight lang="xml" enclose="div">
 +
<system.data>
 +
  <DbProviderFactories>
 +
    <add name="IBM DB2 for i5/OS .NET Provider" invariant="IBM.Data.DB2.iSeries" description=".NET Framework Data Provider for i5/OS" type="IBM.Data.DB2.iSeries.iDB2Factory, IBM.Data.DB2.iSeries, Version=12.0.0.0, Culture=neutral, PublicKeyToken=9cdb2ebfb1f93a26" />
 +
  </DbProviderFactories>
 +
</system.data>
 +
</syntaxhighlight></li>
 +
<li>Ensure that the file is saved before exiting the text editor.</li>
 +
<li>The issue should now be resolved.</li>
 
</ol>
 
</ol>
  
 
[[Category:Order Express]]
 
[[Category:Order Express]]

Revision as of 15:19, 11 September 2014


Standalone Version

Standalone Version Download
Locating the Executable

In order to debug certain issues, eVision Support may provide you with a link to download a Standalone Version of Order Express. This version of Order Express does not require installation and is primarily used to identify whether an issue is caused by a broken installation, or with Order Express directly.

  1. Open the link that was provided to you by eVision Support
  2. Click the Download button on the page and save the file to your desktop
  3. Extract the downloaded file to a folder.
  4. Open the folder and locate the executable file for the application
  5. If the program loads up successfully, the issue is the result of the installation routine. Perform the Extended (Full) Uninstall on the Uninstalling Order Express page.
  6. If the program does not load successfully, the cause of the issue is within the application.
  7. Ensure that you communicate the results of this test back to eVision Support for additional troubleshooting steps.

Duplicate DbProviderFactories

Due to an issue in certain software, you may receive the following error: The 'DbProviderFactories' section can only appear once per config file.

This occurs because the Machine.config file on the computer contains erroneous information and must be fixed by hand.

  1. Locate the `machine.config` file. Refer to the Machine.config article for instructions on locating it.
  2. Once found, make a backup of the file and put it in a safe location.
  3. Open the original file in a text editor and search for `<DbProviderFactories>`. This text should appear more than once.
  4. If the text matches that of the text below, delete the text that matches the example below.
    <system.data>
      <DbProviderFactories>
        <add name="IBM DB2 for i5/OS .NET Provider" invariant="IBM.Data.DB2.iSeries" description=".NET Framework Data Provider for i5/OS" type="IBM.Data.DB2.iSeries.iDB2Factory, IBM.Data.DB2.iSeries, Version=12.0.0.0, Culture=neutral, PublicKeyToken=9cdb2ebfb1f93a26" />
      </DbProviderFactories>
    </system.data>
  5. Ensure that the file is saved before exiting the text editor.
  6. The issue should now be resolved.