This article explains the "Could not load file or assembly 'InfragisticsWPF.DataPresenter'" error and the related "Replikanto Version Mismatch Detected" error, and how to fix them for good. These errors only occur with Replikanto 1.6.1.7 or earlier, usually right after a NinjaTrader update. The permanent fix is to install Replikanto 1.7.0.0 or later.
Common Error Messages
Customers experiencing this issue may see any of these error messages:
- "Replikanto Version Mismatch Detected" - The Replikanto build currently installed is not compatible with your NinjaTrader version
- "Could not load file or assembly 'InfragisticsWPF4.DataPresenter'" or "InfragisticsWPF.DataPresenter"
- "Version mismatch" or "Build compatibility error" when installing or launching Replikanto
- Unable to retrieve type info for 'NinjaTrader.Data.Barstype' from assembly 'Replikanto': Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
Cause
Most often, these errors mean the installed Replikanto build does not match your NinjaTrader version. Replikanto 1.6.1.7 and earlier versions used a third-party grid library (Infragistics) that ships with NinjaTrader and changes between NinjaTrader releases, so each of those Replikanto builds only worked on a specific range of NinjaTrader versions. Updating NinjaTrader beyond that range, or installing a build made for a different range, produces the error below:
Unhandled exception: Could not load file or assembly 'InfragisticsWPF4.DataPresenter'
Permanent fix: install Replikanto 1.7.0.0 or later
Starting with Replikanto 1.7.0.0, the follower and remote-node grids were rebuilt in house, with no Infragistics library. One Replikanto build runs on every NinjaTrader 8 version, so once you are on 1.7.0.0 or later, this error does not come back when you update NinjaTrader.
- Download the latest Replikanto .zip file (1.7.0.0 or later) from the FlowBots downloads page via this link. It is one file for every NinjaTrader 8 version, so you do not need to match it to your NinjaTrader version. If you use Replikanto Compliance Mode, download the Compliance Mode package instead.
- Install it following the steps in How do I install a FlowBots product/add-on? You can install it even if an incompatible version is installed now: importing the new .zip replaces it.
- Restart NinjaTrader.
The first time you open Replikanto 1.7.0.0, the follower and remote-node grids start with the default column layout: saved column widths, order, visibility and sort order reset once. Your followers and the rest of your settings are kept.
About the NinjaTrader Version column
Replikanto 1.6.1.7 and earlier were listed on the downloads page with a NinjaTrader Version range, as in the picture below. Starting with 1.7.0.0 you no longer need to match that range: download the latest Replikanto.
Extra Steps
If the same error "Unhandled exception: Unable to load the file or assembly 'InfragisticsWPF.DataPresenter'" continues to appear, you may be using Microsoft OneDrive, which is preventing the product from updating because OneDrive may be bringing the old version that is in the cloud to the machine, preventing the product from being updated. For this issue, see Fix OneDrive 'Access to the Path Denied' Import Error.
After Reinstalling: 3rd Party Licensing Form
After installing the new Replikanto build and restarting NinjaTrader, you may see a 3rd Party Licensing dialog with empty Vendor name and User defined ID fields. This is expected after a fresh install or reinstall — Replikanto's license needs to be re-activated on the new build.
If this happens, copy the Machine ID shown at the bottom of that form and contact FlowBots support. The support team will reactivate your license using your Machine ID.
Comments
0 comments
Article is closed for comments.