System.BadImageFormatException Could not load file or assembly ‘SLXConnectorWS’

Note: The SalesLogix Connector Tool is now known as the Infor CRM Connector Tool.

Symptom

You may receive the exception text:

System.BadImageFormatException Could not load file or assembly ‘SLXConnectorWS’ or one of its dependencies. 
An attempt was made to load a program with an incorrect format.

Cause

Caused by loading the 32 bit SLX Connector components into a 64 bit application pool

Resolution

You need to set the application pool bitness to 32 bit via the IIS manager as follows:

  1. Start -> Administrative Tools -> Internet Information Service (IIS) Manager.
  2. Confirm the name of the application pool that’s hosting the SLX connector web service.
  3. Right click the Application Pool name and select ‘Advanced Settings’.
  4. In the properties grid ensure that ‘Enable 32 Bit Applications’ is set to TRUE.