SAP Issue - The type initializer for SBO.DI.Connection threw an exception

  • Updated

This error can occur due to one of the following reasons:

  • The DI-API is not installed
  • There is an incorrect/corrupt version of the DI-API installed
  • The DI-API is installed but not registered correctly
  • You are running B1UP on an unsupported version of B1UP

Step 1: Reset the Temp folder:

  • In windows, go to Start > Run
  • Type in %temp%. and press OK
  • In the window that appears locate the SM_OBS_DLL folder and rename it to oldSM_OBS_DLL
  • Restart SAP Business One

Step 2: Install/Re-install the DI-API

Step 3: Manually register the DI-API

  • In windows, go to Start > Run
  • Type the following
  • %systemroot%\System32\regsvr32 "C:\..<Path to 8.8 DI-API>...\SAPbobsCOM88.dll"

Example:

%systemroot%\System32\regsvr32 "C:\Program Files (x86)\SAP\SAP Business One DI API\DI API 88\SAPbobsCOM88.dll"

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.