Skip to Content
Former Member
Nov 01, 2016 at 08:24 PM

[Error] - SAPbouiCOM.CompanyClass.GetDICompany DI API


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