Symptom #
When you click OK after adding a new connection in the SAP Business One Connector global configuration, you may get the following error message:
System.BadImageFormatException Could not load file or assembly 'Codestone.Compression'
Cause #
TaskCentre Tools for The SAP Business One is designed to run in a 32 bit application pool in IIS. It requires that all modules loaded into the application pool are 32 bit also. The fault occurs when another module running in application pool is NOT 32 bit.
This can happen where 64 bit components are loaded into every application pool.
Resolution #
Apply the resolution as described in the following knowledge base article:
IIS App pool fails when you make a call onto the SAP Business One Connector web service.