Records in Integration not moving: Error: Could not load file or assembly Interop.SAPbobsCOM

Records in Integration not moving: Error: Could not load file or assembly Interop.SAPbobsCOM

Version

 6.6, not the version-specific

Issue

Records in Integration monitor not moving.

This indicates that integration events not moving, neither from SAP to iVend nor from iVend to SAP means all the Integration records are getting stuck in the Integration monitor with the status "Not processed".

Some more information related to the scenario is below:
1) Customer has upgraded the SAP version from 9.2 to SAP 10.0
2) There was an error in the Event viewer log as below:

Could not load file or assembly 'Interop.SAPbobsCOM, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.

3) Version_10 folder (Interop.SAPbobsCOM.dll file was available in Version_10 folder) was available in Integration folder and Configuration folder (if SAP is 10.0 then this is required), below is the screenshot for the same:


4) SAP DI API (both 32 and 64 Bits) was reinstalled (on SAP and Integration server) from the SAP setup folder with no success.
5) SAPbobsCOM100 DLL was re-registered with no success.

Resolution

As a troubleshooting step, a new Integration EXE was provided to the customer, which worked and integration started moving both ways successfully.

Note: This EXE was not carrying any specific fix, it was just a new EXE, which means the previous EXE would have got corrupted during the upgrade process.