A “System.IO.FileLoadException” error is encountered when ApexSQL Log or ApexSQL Recover is started

Summary
This article explains what to do if you encounter the “System.IO.FileLoadException” exception when you start ApexSQL Log or ApexSQL Recover

Symptoms
ApexSQL Log or ApexSQL Recover is installed along with ApexSQL Diff or ApexSQL Diff API using the ApexSQL universal installer downloaded from the ApexSQL Download page. When ApexSQL Log or ApexSQL Recover is started, an exception is thrown:

Exception: System.IO.FileLoadException: Could not load file or assembly ‘ApexSqlLogCore, Version=2011.3.1088.0, Culture=neutral, PublicKeyToken=3b936d7fbc8f6b28′ or one of its dependencies. The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more details. (Exception from HRESULT: 0x800736B1)

Cause
A wrong Microsoft Visual C++ Redistributable Package for ApexSQL Diff and ApexSQL Diff API was used in the ApexSQL universal installer

Affected versions:
ApexSQL Log 2011.03.1088
ApexSQL Recover 2011.02.1058
ApexSQL Diff 2012.02.0281
ApexSQL Data Diff 2012.03.0032

Resolution
The issue has been fixed and a new universal installer is available. To solve the “System.IO.FileLoadException” error, please download a new universal installer here and re-install ApexSQL Log and ApexSQL Recover. There is no need to uninstall them first

Another option is to use ApexSQL Log and ApexSQL Recover individual installers instead of the universal one to install the tools. To get them, please send an email to support@apexsql.com with the product name