Skip to Content

[Error] - SAPbouiCOM.CompanyClass.GetDICompany DI API

Nov 01, 2016 at 08:24 PM


avatar image

Recently, while running my add-on. It suddenly got an error: "System.IO.FileNotFoundException: Internal error (-2147024770) occurred [131-183] - The specified module could not be found. at SAPbouiCOM.CompanyClass.GetDICompany()". It's kinda weird because I didn't change any related code from GetDICompany.

            oCompany = SBO_Application.Company.GetDICompany
            oRec = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)

I've already uninstall install DI API and SAP Business One Client

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Kiyoshi Kobayashi Oct 09, 2017 at 06:13 PM

I also have the same error message. This error does not occur on my development machine, it only occurs on the user machine. I am using Visual Studio 10 with "SAP Business One Add-On Project" and referencing the C:\Program Files (x86)\SAP\SAP Business One SDK\Lib\SAPBusinessOneSDK.dll and included this dll in the installation package.

Did you find the solution to the problem?

10 |10000 characters needed characters left characters exceeded