Product: SAP Business One
Article Link: http://help.truecommerce.com/en/articles/9440104-sap-business-one-error-32-bit-di-api-not-located
Error: 32 bit DI API Not Located.
Issue: When attempting to Import/Export/Sync with your SAP Business One you receive the following error: '32 bit DI API Not Located.'
Reason: The Integration Service could not locate the 32-bit DI API installation on your machine, or there is a mismatch between the 32/64bit Dynamic Link Library (DLL) and the Prefer64Bit flag within the Integration Service config.
Solution - Set the Prefer64Bit Flag
by default the Integration Service will download the latest Dynamic Link Library (DLL) for your SAP compiled for 64-bit operations while the Integration Service has the Prefer64Bit flag set to false. For new installations/updates of the Integration Service be sure to set the flag to utilize the 64-bit.
Learn More about Enabling 64-Bit Below
Solution - Utilize a 32-Bit Compiled DLL
If you're attempting to utilize a 32-bit version of SAP you will need to replace your Integration Dynamic Link Library (DLL) with a version compiled specifically for 32-bit operations.
Always backup your original DLLs first
Copying the 32-Bit DLL
You can locate the 32-Bit DLL within the SAPBusinessOne subfolder within the Integration Service
Navigate: C:\Program Files (x86)\True Commerce\TmoIntegrationServiceV2\SAPBusinessOne\SAP10.0\DIAPI\x86
Copy: Tc.Int.Platform.BSPSAPB1.dll and SAPbobsCOM.dll
Replace: Both DLLs
Restart: the Integration Service
Learn More about Restarting the Integration Service
Solution - Install the 32-Bit DI API
If you're attempting to use a 32-Bit configuration you will need to be sure to install the 32-bit DI API from SAP Business One.
The installation files can typically be found within your SAP Installation folder - however TrueCommerce is unable to assist in configuring your DI API as it is not apart of the TrueCommerce application.
If your machine is missing the DI API needed (be it 32-bit or 64-bit) you'll need to contact your Systems Administrator to get the installation performed.
Additional Resources
rev 6/11/2024